  :root {
    --bg: #04060f;
    --bg2: #191127;
    --bg3: #1f1232;
    --accent: #883CF0;
    --accent2: #7b5cff;
    --accent3: #af62c8;
    --gold: #af62c8;
    --text: #e8f4ff;
    --muted: #d6d6d6;
    --border: #3a1c63;
    --card: #23133a;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  .bestpasswordvaults {
    background: #191127;
    color: var(--text);
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    height: 100vh;
  }

  /* ─── NOISE OVERLAY ─── */
  .bestpasswordvaults::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0; opacity: 0.4;
  }

  /* ─── GRID BG ─── */
  .grid-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(195, 0, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(162, 0, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }

  /* ─── NAV ─── */
  .bestpasswordvaults 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;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }
  .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: 32px; list-style: none; }
  .nav-links a {
    
    font-size: 0.75rem; color: var(--muted);
    text-decoration: none; 
    text-transform: uppercase; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta {
    
    font-size: 0.7rem; font-weight: 700;
    background: var(--accent); color: var(--bg);
    border: none; padding: 10px 20px;
    cursor: pointer; 
    text-transform: uppercase; transition: all 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }
  .nav-cta:hover { background: #883cf0e0; transform: translateY(-2px); }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 48px 80px;
    position: relative; overflow: hidden;
  }
  .hero-glow {
    position: absolute; top: 10%; left: -10%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(170, 0, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
  }
  .hero-glow2 {
    position: absolute; bottom: 5%; right: -5%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 61, 255, 0.07) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 6s ease-in-out infinite reverse;
  }
  @keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
  }
  .hero-content { max-width: 700px; position: relative; }
  .hero-tag {
    
    font-size: 0.7rem; color: var(--accent);
     text-transform: uppercase;
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
  }
  .hero-tag::before {
    content: ''; display: block;
    width: 30px; height: 1px; background: var(--accent);
  }
 
  .bestpasswordvaults h1 {
    
    font-weight: 800; font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05; margin-bottom: 24px;
  }
  .bestpasswordvaults h1 .accent { color: var(--accent); }
  .bestpasswordvaults h1 .accent2 { color: var(--accent2); }
  .hero-desc {
    font-size: 1.1rem; color: #ccdae2;
    max-width: 560px; margin-bottom: 40px; font-weight: 300;
  }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn-primary {
    
    font-size: 0.8rem; font-weight: 700;
    background: var(--accent); color: var(--bg);
    border: none; padding: 16px 32px;
    cursor: pointer; 
    text-transform: uppercase; transition: all 0.2s;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    text-decoration: none; display: inline-block;
  }
  .btn-primary:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 0 30px #be52e50f; }
  .btn-outline {
    
    font-size: 0.8rem; font-weight: 700;
    background: transparent; color: var(--text);
    border: 1px solid var(--border); padding: 16px 32px;
    cursor: pointer; 
    text-transform: uppercase; transition: all 0.2s;
    text-decoration: none; display: inline-block;
  }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
  .hero-stats {
    display: flex; gap: 48px; margin-top: 64px;
    padding-top: 40px; border-top: 1px solid var(--border);
  }

  .stat-num {
    
    font-size: 2rem; font-weight: 800; color: var(--accent);
    display: block;
  }
  .stat-label {
    
    font-size: 0.65rem; color: var(--muted);
     text-transform: uppercase;
  }

  /* ─── SECTION HEADERS ─── */
  .bestpasswordvaults section { position: relative;  }
  .section-header { text-align: center; margin-bottom: 64px; }
  .section-tag {
    
    font-size: 0.7rem; color: var(--accent);
     text-transform: uppercase;
    margin-bottom: 14px; display: block;
  }

  .bestpasswordvaults h2 {
    
    font-weight: 800; font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
  }
  .bestpasswordvaults h2 em { font-style: normal; color: var(--accent); }
  .section-sub { color: var(--muted); margin-top: 12px; font-size: 1.05rem; font-weight: 300; }

  /* ─── WHAT IS PAM ─── */
  .what-is-pam { padding: 100px 48px; background: var(--bg2); }
  .pam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; align-items: start; }
  .pam-text h3 {
    
    font-size: 1.6rem; font-weight: 700; margin-bottom: 20px;
  }
  .pam-text p { color: #dbe4ea; margin-bottom: 16px; font-weight: 300; }
  .pam-pillars { display: flex; flex-direction: column; gap: 16px; }
  .pillar {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px; border: 1px solid var(--border);
    background: var(--card); transition: all 0.3s;
    cursor: default;
  }
  .pillar:hover { border-color: var(--accent); transform: translateX(6px); }
  .pillar-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: #23133a9f; border: 1px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
  }
  .pillar-body h4 {
    
    font-size: 0.95rem; font-weight: 700; margin-bottom: 4px;
  }
  .pillar-body p { font-size: 0.85rem; color: var(--muted); margin: 0; }

  /* ─── PAM TOOLS COMPARISON ─── */
  .tools-section { padding: 100px 48px; }
  .tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
  .tool-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative; overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
  }
  .tool-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
  }
  .tool-card:hover { border-color: #5e309d; transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
  .tool-card:hover::before { transform: scaleX(1); }
  .tool-card.featured { border-color: #5e309d; }
  .tool-card.featured::before { transform: scaleX(1); background: var(--gold); }
  .tool-badge {
    
    font-size: 0.6rem; text-transform: uppercase;
    padding: 4px 10px; margin-bottom: 16px; display: inline-block;
    background: #cb56f90a; color: var(--gold); border: 1px solid #5e309d;
  }
  .tool-name {
    
    font-size: 1.4rem; font-weight: 800; margin-bottom: 8px;
  }
  .tool-vendor {
    
    font-size: 0.7rem; color: var(--accent); 
    text-transform: uppercase; margin-bottom: 16px;
  }
  .tool-desc { font-size: 0.9rem; color: #d1d8dd; margin-bottom: 20px; font-weight: 300; line-height: 1.6; }
  .tool-features { list-style: none; margin-bottom: 24px; }
  .tool-features li {
    font-size: 0.82rem; color: var(--muted);
    padding: 6px 0; border-bottom: 1px solid #3a1c63;
    display: flex; align-items: center; gap: 8px;
  }
  .tool-features li::before { content: '→'; color: var(--accent); font-size: 0.7rem; }
  .tool-score {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid var(--border);
  }
  .score-label {  font-size: 0.65rem; color: var(--muted); text-transform: uppercase;  }
  .score-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); margin: 0 12px; border-radius: 2px; }
  .score-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 1s ease; }
  .score-num {  font-size: 1rem; font-weight: 800; color: var(--accent); }

  /* ─── INTERACTIVE QUIZ ─── */
  .quiz-section { padding: 100px 48px; background: var(--bg2); }
  .quiz-container { max-width: 720px; margin: 0 auto; }
  .quiz-card {
    background: var(--bg3); border: 1px solid var(--border);
    padding: 48px; position: relative;
  }
  .quiz-card::after {
    content: ''; position: absolute;
    bottom: -2px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }
  .quiz-step { display: none; animation: fadeSlide 0.4s ease; }
  .quiz-step.active { display: block; }
  @keyframes fadeSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
  }
  .quiz-progress {
    display: flex; gap: 8px; margin-bottom: 32px;
  }
  .quiz-dot {
    flex: 1; height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px; transition: background 0.3s;
  }
  .quiz-dot.done { background: var(--accent); }
  .quiz-q {
    
    font-size: 1.3rem; font-weight: 700;
    margin-bottom: 28px; line-height: 1.3;
  }
  .quiz-options { display: flex; flex-direction: column; gap: 12px; }
  .quiz-option {
    padding: 16px 20px;
    border: 1px solid var(--border);
    background: #883cf050;
    cursor: pointer; transition: all 0.2s;
    font-size: 0.9rem; color: var(--text);
    display: flex; align-items: center; gap: 14px;
    text-align: left;
  }
  .quiz-option:hover { border-color: var(--accent); background: #3a1c6327; color: var(--accent); }
  .quiz-option.selected { border-color: var(--accent); background: #3a1c638f; color: var(--accent); }
  .quiz-option-letter {
    width: 28px; height: 28px; flex-shrink: 0;
    border: 1px solid currentColor;
    display: flex; align-items: center; justify-content: center;
     font-size: 0.7rem;
    font-weight: 700;
  }
  .quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
  .quiz-btn {
    
    font-size: 0.75rem; font-weight: 700;
    background: var(--accent); color: var(--bg);
    border: none; padding: 12px 28px;
    cursor: pointer;  text-transform: uppercase;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: all 0.2s;
  }
  .quiz-btn:hover { background: #fff; }
  .quiz-btn.secondary { background: transparent; color: var(--muted); border: 1px solid var(--border); clip-path: none; }
  .quiz-btn.secondary:hover { color: var(--text); border-color: var(--text); background: transparent; }
  .quiz-result { text-align: center; }
  .quiz-result h3 {
     font-size: 1.8rem; font-weight: 800; margin-bottom: 12px;
  }
  .result-score {
     font-size: 4rem; font-weight: 800;
    color: var(--accent); line-height: 1; margin: 24px 0;
  }
  .result-label { color: var(--muted); font-size: 0.85rem; }

  /* ─── JIT EXPLAINER ─── */
  .jit-section { padding: 100px 48px; }
  .jit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1100px; margin: 0 auto; align-items: center; }
  .jit-visual { position: relative; }
  .jit-diagram {
    border: 1px solid var(--border); padding: 32px;
    background: var(--bg3); position: relative;
  }
  .jit-flow { display: flex; flex-direction: column; gap: 0; }
  .jit-node {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    background: var(--card); position: relative;
    transition: all 0.3s;
  }
  .jit-node.active { border-color: var(--accent3); background: rgba(127,255,110,0.06); }
  .jit-node.blocked { border-color: var(--accent2); background: rgba(255,61,110,0.06); }
  .jit-connector {
    width: 2px; height: 24px; background: var(--border);
    margin-left: 26px; position: relative;
  }
  .jit-connector::after {
    content: '▼'; position: absolute; bottom: -10px; left: -5px;
    font-size: 0.6rem; color: var(--muted);
  }
  .jit-node-icon { font-size: 1.2rem; }
  .jit-node-label { font-size: 0.85rem; font-weight: 500; }
  .jit-node-sub { font-size: 0.72rem; color: var(--muted); }
  .jit-status {
    margin-left: auto; 
    font-size: 0.6rem;  text-transform: uppercase;
    padding: 3px 8px; border-radius: 2px;
  }
  .status-granted { background: rgba(127,255,110,0.15); color: var(--accent3); border: 1px solid rgba(127,255,110,0.3); }
  .status-expired { background: rgba(255,61,110,0.15); color: var(--accent2); border: 1px solid rgba(255,61,110,0.3); }
  .status-pending { background: rgba(245,197,66,0.15); color: var(--gold); border: 1px solid rgba(245,197,66,0.3); }
  .jit-text h3 {
     font-size: 1.7rem; font-weight: 800; margin-bottom: 20px;
  }
  .jit-text p { color: #d4e0e8; margin-bottom: 16px; font-weight: 300; }
  .jit-benefits { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .jit-benefit {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-left: 2px solid var(--accent2);
    background: #cb56f90a;
  }
  .jit-benefit-icon { font-size: 1rem; margin-top: 2px; }
  .jit-benefit p { font-size: 0.85rem; color: var(--muted); margin: 0; }
  .jit-benefit strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 0.9rem; }

  /* ─── PASSWORD STRENGTH TESTER ─── */
  .tester-section { padding: 100px 48px; background: var(--bg2); }
  .tester-container { max-width: 680px; margin: 0 auto; }
  .tester-input-wrap { position: relative; margin-bottom: 24px; }
  .tester-input {
    width: 100%; padding: 20px 60px 20px 24px;
    background: var(--bg3); border: 1px solid var(--border);
    color: var(--text); 
    font-size: 1rem; outline: none; transition: border-color 0.2s;
  }
  .tester-input:focus { border-color: var(--accent); }
  .tester-toggle {
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--muted); cursor: pointer;
    font-size: 1.1rem; transition: color 0.2s;
  }
  .tester-toggle:hover { color: var(--accent); }
  .strength-bar-wrap { margin-bottom: 20px; }
  .strength-bar {
    height: 6px; background: rgba(255,255,255,0.06);
    border-radius: 3px; overflow: hidden; margin-bottom: 8px;
  }
  .strength-fill {
    height: 100%; width: 0; border-radius: 3px;
    transition: width 0.4s ease, background 0.4s;
  }
  .strength-labels { display: flex; justify-content: space-between; }
  .strength-label {  font-size: 0.65rem; color: var(--muted);  text-transform: uppercase; }
  .strength-current {
     font-size: 1.6rem; font-weight: 800;
    margin-bottom: 20px; min-height: 2rem;
    transition: color 0.3s;
  }
  .strength-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .check-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem; color: var(--muted);
    padding: 10px 14px; border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
  }
  .check-item.pass { color: var(--accent3); border-color: rgba(127,255,110,0.2); background: rgba(127,255,110,0.04); }
  .check-icon { font-size: 0.8rem; }
  .generate-btn {
    width: 100%; margin-top: 24px;
    
    font-size: 0.75rem; font-weight: 700;
    background: transparent; color: var(--accent);
    border: 1px solid var(--accent); padding: 14px;
    cursor: pointer;  text-transform: uppercase;
    transition: all 0.2s;
  }
  .generate-btn:hover { background: var(--accent); color: var(--bg); }

  /* ─── FEATURES TABS ─── */
  .features-section { padding: 100px 48px; }
  .tabs-wrap { max-width: 1100px; margin: 0 auto; }
  .tab-headers { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 48px; overflow-x: auto; }
  .tab-btn {
    
    font-size: 0.72rem; font-weight: 700;
    background: none; border: none; color: var(--muted);
    padding: 16px 28px; cursor: pointer;
     text-transform: uppercase;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: all 0.2s; white-space: nowrap;
  }
  .tab-btn:hover { color: var(--text); }
  .tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
  .tab-panel { display: none; animation: fadeSlide 0.3s ease; }
  .tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .tab-content h3 {  font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
  .tab-content p { color: #d0d8dd; margin-bottom: 20px; font-weight: 300; line-height: 1.7; }
  .tab-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .tab-list li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.88rem; color: var(--muted);
    padding: 12px 16px; border: 1px solid #3a1c63;
  }
  .tab-list li::before { content: '//'; color: var(--accent);  font-size: 0.7rem; flex-shrink: 0; margin-top: 1px; }
  .tab-visual {
    background: var(--bg3); border: 1px solid var(--border);
    padding: 32px; min-height: 280px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .tab-visual-inner { text-align: center; }
  .tab-icon { font-size: 4rem; margin-bottom: 16px; display: block; }
  .tab-visual-label {  font-size: 0.7rem; color: var(--muted);  text-transform: uppercase; }

  /* ─── FOOTER ─── */
  .bestpasswordvaults footer {
    padding: 60px 48px; border-top: 1px solid var(--border);
    background: var(--bg);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 24px;
  }
  .footer-logo {
    
    font-weight: 800; font-size: 1rem; color: var(--accent);
  }
  .footer-logo span { color: var(--muted); }
  .footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
  .footer-links a {
    
    font-size: 0.65rem; color: var(--muted);
    text-decoration: none;  text-transform: uppercase;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--accent); }
  .footer-copy { font-size: 0.75rem; color: var(--muted); }

  /* ─── SCROLL REVEAL ─── */
  .reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 768px) {
    .bestpasswordvaults nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .hero { padding: 100px 20px 60px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .pam-grid, .jit-grid { grid-template-columns: 1fr; gap: 40px; }
    .tab-panel.active { grid-template-columns: 1fr; }
    .strength-checks { grid-template-columns: 1fr; }
    .bestpasswordvaults footer { flex-direction: column; padding: 40px 20px; }
    .tools-section, .quiz-section, .jit-section, .tester-section, .features-section, .what-is-pam { padding: 60px 20px; }
  }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #873cf015; }
::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }