  :root {
    --bg: #191127;
    --surface: #23133a;
    --surface2: #1f1232;
    --border: #3a1c63;
    --accent: #883CF0;
    --accent2: #af62c8;
    --accent3: #7b61ff;
    --text: #e8f0fe;
    --muted: #d6d6d6;
    --glow: 0 0 24px #be52e50f;
    --glow2: 0 0 24px #be52e50f;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  .endpoint-protections {
    background: var(--bg);
    color: var(--text);
    position: relative;
    overflow-x: hidden;
    cursor: none;
    height: 100vh;
  }

  /* Custom cursor */
  #cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    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: 2;
    transition: transform 0.18s ease, width 0.2s, height 0.2s;
    mix-blend-mode: screen;
  }

  /* Grid noise texture */
  .endpoint-protections::before {
    content: '';
    position: absolute; inset: 0;
    background-image: 
      repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(169, 0, 230, 0.03) 60px),
      repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(176, 0, 230, 0.03) 60px);
    pointer-events: none;
    z-index: 0;
  }

  /* ===== NAV ===== */
  .endpoint-protections nav {
    position: sticky; top: 0; left: 0; right: 0;
    z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 48px;
    background: #180f26;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    
    font-weight: 800;
    font-size: 1.1rem;
    
    color: var(--accent);
    text-decoration: none;
  }
  .nav-logo span { color: var(--text); }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.75rem;
    
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-badge {
    font-size: 0.65rem;
    padding: 4px 12px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 2px;
    
  }

  /* ===== HERO ===== */
  #hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 48px 60px;
  }

  .hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .orb1 { width: 600px; height: 600px; background: rgba(134, 0, 230, 0.06); top: -100px; right: -100px; }
  .orb2 { width: 400px; height: 400px; background: rgba(213, 97, 255, 0.08); bottom: -50px; left: -100px; }

  .hero-content {
    max-width: 900px;
    position: relative;
    text-align: center;
  }

  .hero-tag {
    display: inline-block;
    font-size: 0.65rem;
    
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid #3a1c63;
    padding: 6px 16px;
    margin-bottom: 32px;
    border-radius: 2px;
    animation: fadeUp 0.6s ease both;
  }

  .hero-title {
    
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    
    margin-bottom: 28px;
    animation: fadeUp 0.7s 0.1s ease both;
  }
  .hero-title .line2 { color: var(--accent); display: block; }

  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 48px;
    animation: fadeUp 0.7s 0.2s ease both;
  }

  .hero-ctas {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.7s 0.3s ease both;
  }

  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    padding: 14px 32px;
    
    font-weight: 700;
    font-size: 0.8rem;
    
    border: none;
    border-radius: 2px;
    cursor: none;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { box-shadow: var(--glow); transform: translateY(-2px); }

  .btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    
    font-weight: 700;
    font-size: 0.8rem;
    
    border: 1px solid #3a1c63;
    border-radius: 2px;
    cursor: none;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

  /* Scrolling threat ticker */
  .ticker-wrap {
    position: absolute; bottom: 0; left: 0; right: 0;
    border-top: 1px solid var(--border);
    background: #1f1232;
    overflow: hidden;
    padding: 10px 0;
  }
  .ticker-track {
    display: flex; gap: 48px;
    animation: ticker 28s linear infinite;
    white-space: nowrap;
  }
  .ticker-item {
    font-size: 0.65rem;
    
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
  }
  .ticker-sep { color: var(--accent2); }

  @keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* ===== STATS STRIP ===== */
  .stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
    position: relative; z-index: 1;
  }
  .stat-cell {
    padding: 40px 48px;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }
  .stat-cell:last-child { border-right: none; }
  .stat-cell::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    height: 2px; width: 0;
    background: var(--accent);
    transition: width 1.2s ease;
  }
  .stat-cell.visible::after { width: 100%; }
  .stat-num {
    
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
  }
  .stat-label { font-size: 0.65rem;  text-transform: uppercase; color: var(--muted); }

  /* ===== SECTION BASE ===== */
  .endpoint-protections section { position: relative;  }
  .section-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
  .section-header { padding: 80px 0 48px; }
  .section-num {
    font-size: 0.65rem;  text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px; display: block;
  }
  .section-title {
    
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; 
    line-height: 1.05;
  }
  .section-title em { font-style: normal; color: var(--accent); }

  /* ===== WHAT IS SECTION ===== */
  #what .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 80px;
  }
  .what-card {
    background: var(--surface);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .what-card:hover { background: var(--surface2); }
  .what-card::before {
    content: attr(data-num);
    position: absolute; top: 16px; right: 20px;
    
    font-size: 5rem; font-weight: 800;
    color: #e5b3f50d;
    line-height: 1;
    user-select: none;
  }
  .what-card-icon {
    width: 44px; height: 44px;
    border: 1px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.2rem;
  }
  .what-card h3 {
     font-weight: 700;
    font-size: 1rem; margin-bottom: 12px; 
  }
  .what-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.8; }

  /* ===== INTERACTIVE PAM STEPS ===== */
  #pam { border-top: 1px solid var(--border); }
  .pam-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    min-height: 600px;
    border: 1px solid var(--border);
    margin-bottom: 80px;
    overflow: hidden;
  }
  .pam-sidebar {
    border-right: 1px solid var(--border);
    background: var(--surface);
  }
  .pam-step-btn {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    text-align: left;
    cursor: none;
    display: flex; align-items: center; gap: 16px;
    
    font-size: 0.72rem;
    
    transition: background 0.2s, color 0.2s;
    position: relative;
  }
  .pam-step-btn:hover { background: var(--surface2); color: var(--text); }
  .pam-step-btn.active {
    background: #1f1232;
    color: var(--accent);
    border-left: 3px solid var(--accent);
  }
  .pam-step-num {
    width: 28px; height: 28px; flex-shrink: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 600;
  }
  .pam-content { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
  .pam-content-inner { display: none; animation: fadeIn 0.35s ease; }
  .pam-content-inner.active { display: block; }
  .pam-content-tag {
    font-size: 0.6rem;  text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
  }
  .pam-content h2 {
     font-size: 1.8rem; font-weight: 800;
     margin-bottom: 20px;
  }
  .pam-content p { font-size: 0.8rem; color: var(--muted); line-height: 1.9; margin-bottom: 24px; }
  .pam-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .pam-checklist li {
    font-size: 0.75rem; color: var(--text);
    display: flex; align-items: flex-start; gap: 12px; line-height: 1.6;
  }
  .pam-checklist li::before {
    content: '✓';
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* ===== THREAT RADAR (INTERACTIVE) ===== */
  #threats { border-top: 1px solid var(--border); }
  .threat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 80px;
  }
  .threat-card {
    background: var(--surface);
    padding: 36px;
    cursor: none;
    transition: background 0.25s;
    position: relative;
    overflow: hidden;
  }
  .threat-card:hover { background: var(--surface2); }
  .threat-card .threat-severity {
    font-size: 0.6rem;  text-transform: uppercase;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
  }
  .severity-dot {
    width: 6px; height: 6px; border-radius: 50%;
    animation: pulse-dot 2s infinite;
  }
  .sev-critical .severity-dot { background: var(--accent2); }
  .sev-high .severity-dot { background: #ff9900; }
  .sev-medium .severity-dot { background: #ffd600; }
  .sev-critical { color: var(--accent2); }
  .sev-high { color: #ff9900; }
  .sev-medium { color: #ffd600; }
  .threat-card h3 {
     font-weight: 700;
    font-size: 1.05rem; margin-bottom: 10px;
  }
  .threat-card p { font-size: 0.75rem; color: var(--muted); line-height: 1.8; }
  .threat-bar-wrap { margin-top: 20px; }
  .threat-bar-label { font-size: 0.6rem;  text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: flex; justify-content: space-between; }
  .threat-bar { height: 3px; background: rgba(255, 255, 255, 0.804); border-radius: 2px; overflow: hidden; }
  .threat-bar-fill { height: 100%; border-radius: 2px; width: 0; transition: width 1.5s cubic-bezier(0.16,1,0.3,1); }
  .threat-card.visible .threat-bar-fill { width: var(--pct); }
  .fill-red { background: var(--accent2); }
  .fill-orange { background: #ff9900; }
  .fill-yellow { background: #ffd600; }
  .fill-green { background: var(--accent); }

  /* ===== ABOUT ===== */
  #about { border-top: 1px solid var(--border); }
  .about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-bottom: 80px;
    align-items: start;
  }
  .about-avatar {
    position: relative;
  }
  .avatar-frame {
    width: 100%; aspect-ratio: 3/4;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }
  .avatar-frame::before {
    content: '';
    position: absolute; inset: 0;
    background: 
      linear-gradient(135deg, rgba(165, 0, 230, 0.08) 0%, transparent 60%),
      repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(176, 0, 230, 0.02) 10px, rgba(169, 0, 230, 0.02) 11px);
  }
  .avatar-initials {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
  }
  .avatar-initials span:first-child {
    
    font-size: 6rem; font-weight: 800;
    color: #e5b3f50d;
    line-height: 1;
  }
  .avatar-initials span:last-child {
    font-size: 0.65rem;  text-transform: uppercase; color: var(--muted);
  }
  .avatar-corner {
    position: absolute;
    width: 32px; height: 32px;
    border-color: var(--accent);
    border-style: solid;
    border-width: 0;
  }
  .corner-tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
  .corner-br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

  .about-text h2 {
     font-size: 2.4rem; font-weight: 800;
     margin-bottom: 24px; line-height: 1.1;
  }
  .about-text p { font-size: 0.8rem; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }
  .creds {
    margin-top: 32px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .cred-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    font-size: 0.72rem;
  }
  .cred-icon { color: var(--accent); font-size: 1rem; }

  /* ===== TRENDS SECTION ===== */
  #trends { border-top: 1px solid var(--border); }
  .trends-scroll {
    display: flex; gap: 24px;
    padding-bottom: 80px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
  }
  .trend-card {
    flex-shrink: 0;
    width: 280px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
  }
  .trend-card:hover { transform: translateY(-4px); border-color: var(--accent); }
  .trend-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s ease;
  }
  .trend-card:hover::after { transform: scaleX(1); }
  .trend-num {
     font-size: 3rem; font-weight: 800;
    color: #e5b3f50d; line-height: 1; margin-bottom: 16px;
  }
  .trend-card h3 {
     font-weight: 700;
    font-size: 0.95rem; margin-bottom: 12px;
  }
  .trend-card p { font-size: 0.73rem; color: var(--muted); line-height: 1.8; }

  /* ===== CONTACT ===== */
  #contact { border-top: 1px solid var(--border); }
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 80px;
    overflow: hidden;
  }
  .contact-info {
    background: var(--surface);
    padding: 56px;
    border-right: 1px solid var(--border);
  }
  .contact-info h2 {
     font-size: 2rem; font-weight: 800;
     margin-bottom: 12px;
  }
  .contact-info p { font-size: 0.8rem; color: var(--muted); line-height: 1.8; margin-bottom: 36px; }
  .contact-links { display: flex; flex-direction: column; gap: 16px; }
  .contact-link {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.75rem;
    transition: border-color 0.2s, color 0.2s;
  }
  .contact-link:hover { border-color: var(--accent); color: var(--accent); }
  .contact-link-icon { color: var(--accent); font-size: 1rem; width: 20px; }
  .contact-form-wrap { padding: 56px; background: var(--bg); }
  .contact-form-wrap h3 {
     font-size: 1.2rem; font-weight: 700;
    margin-bottom: 28px;
  }
  .form-row { margin-bottom: 16px; }
  .form-row label {
    display: block;
    font-size: 0.6rem;  text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
  }
  .form-row input,
  .form-row textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 16px;
    
    font-size: 0.78rem;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
  }
  .form-row input:focus,
  .form-row textarea:focus { border-color: var(--accent); }
  .form-row textarea { height: 100px; }
  .form-submit {
    width: 100%;
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 14px;
    
    font-weight: 700;
    font-size: 0.8rem;
    
    cursor: none;
    transition: box-shadow 0.2s;
  }
  .form-submit:hover { box-shadow: var(--glow); }
  #form-msg { font-size: 0.72rem; color: var(--accent); margin-top: 10px; min-height: 20px; }

  /* ===== FOOTER ===== */
  .endpoint-protections footer {
    border-top: 1px solid var(--border);
    padding: 32px 48px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative;
  }
  .footer-brand {
     font-weight: 800;
    color: var(--accent); font-size: 0.9rem;
  }
  .footer-copy { font-size: 0.65rem; color: var(--muted); }

  /* ===== ANIMATIONS ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
  }
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.5); }
  }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  /* Scanline overlay on hero */
  #hero::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
    animation: scan 8s linear infinite;
  }
  @keyframes scan {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px) {
    .endpoint-protections nav { padding: 16px 24px; }
    .nav-links { display: none; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .pam-layout { grid-template-columns: 1fr; }
    .pam-sidebar { display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
    .pam-step-btn { border-bottom: none; border-right: 1px solid var(--border); white-space: nowrap; flex-shrink: 0; }
    #what .grid { grid-template-columns: 1fr; }
    .threat-grid { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info { border-right: none; border-bottom: 1px solid var(--border); }
    .section-inner { padding: 0 24px; }
    .endpoint-protections footer { flex-direction: column; gap: 8px; text-align: center; }
  }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #873cf015; }
::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }