/* landing.css - Marketing site, auth pages, help guide */

/* ─── NAV ───────────────────────────────────────────────── */
.mkt-nav{display:flex;align-items:center;justify-content:space-between;padding:.9rem 2rem;background:#0f1117;border-bottom:1px solid rgba(255,255,255,.08);position:sticky;top:0;z-index:50;}
.mkt-logo{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:600;color:#fff;letter-spacing:-.4px;}
.mkt-logo strong{color:var(--brand);}
.mkt-logo span{color:#fff;}
.mkt-logo svg{flex-shrink:0;}
.mkt-nav-links{display:flex;align-items:center;gap:1.5rem;font-size:14px;}
.mkt-nav-links a{color:rgba(255,255,255,.6);transition:color .15s;}
.mkt-nav-links a:hover{color:#fff;}
.btn-outline-sm{padding:6px 14px;border:1px solid rgba(255,255,255,.25);border-radius:var(--radius-sm);color:rgba(255,255,255,.8)!important;font-weight:500;}
.btn-outline-sm:hover{background:rgba(255,255,255,.1)!important;color:#fff!important;}
.btn-primary-sm{padding:6px 14px;border-radius:var(--radius-sm);background:var(--brand);color:white!important;font-weight:600;}
.btn-primary-sm:hover{background:var(--brand-dark)!important;}
.mkt-menu-btn{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:4px;}
.mkt-menu-btn span{width:20px;height:2px;background:rgba(255,255,255,.7);border-radius:1px;display:block;}
.mkt-mobile-menu{display:none;flex-direction:column;gap:.5rem;padding:1rem 2rem;background:#0f1117;border-bottom:1px solid rgba(255,255,255,.08);}
.mkt-mobile-menu.open{display:flex;}
.mkt-mobile-menu a{font-size:15px;color:rgba(255,255,255,.7);padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.08);}

/* ─── HERO ──────────────────────────────────────────────── */
.page-marketing{background:var(--bg);}
.hero{text-align:center;padding:5rem 2rem 4rem;max-width:720px;margin:0 auto;}
.hero-badge{display:inline-block;background:var(--brand-light);color:var(--brand);font-size:12px;font-weight:600;padding:4px 14px;border-radius:var(--radius-pill);margin-bottom:1.5rem;}
.vault-logo-large{margin:0 auto 1.5rem;width:120px;height:120px;}
.vault-logo-large svg{filter:drop-shadow(0 8px 24px rgba(45,91,227,.3));}
.hero-headline{font-size:clamp(40px,7vw,68px);font-weight:800;line-height:1.1;letter-spacing:-2px;margin-bottom:1rem;color:var(--text);}
.hero-accent{color:var(--brand);}
.hero-sub{font-size:18px;color:var(--text-muted);line-height:1.6;margin-bottom:2rem;max-width:520px;margin-left:auto;margin-right:auto;}
.hero-ctas{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:1.5rem;}
.btn-hero-primary{padding:14px 28px;background:var(--brand);color:white;border-radius:var(--radius);font-size:15px;font-weight:700;transition:background .15s;}
.btn-hero-primary:hover{background:var(--brand-dark);}
.btn-hero-secondary{padding:14px 28px;border:1.5px solid var(--border-md);color:var(--text);border-radius:var(--radius);font-size:15px;font-weight:600;transition:all .15s;}
.btn-hero-secondary:hover{background:var(--bg-secondary);}
.hero-providers{display:flex;align-items:center;gap:10px;justify-content:center;font-size:13px;color:var(--text-faint);}
.provider-pills{display:flex;gap:6px;}
.provider-pills span{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-pill);padding:3px 10px;font-size:12px;color:var(--text-muted);}

/* ─── STATS BAR ─────────────────────────────────────────── */
.stats-bar{background:var(--brand);padding:2rem;}
.stats-bar-inner{display:flex;align-items:center;justify-content:center;gap:0;max-width:900px;margin:0 auto;flex-wrap:wrap;}
.stats-bar-item{text-align:center;padding:1rem 2.5rem;}
.stats-bar-num{font-size:32px;font-weight:800;color:white;letter-spacing:-1px;}
.stats-bar-lbl{font-size:13px;color:rgba(255,255,255,.7);margin-top:4px;}
.stats-bar-divider{width:1px;height:48px;background:rgba(255,255,255,.25);}

/* ─── FEATURES ──────────────────────────────────────────── */
.features-section,.how-section,.testimonials-section,.cta-section{padding:5rem 2rem;max-width:1100px;margin:0 auto;}
.section-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--brand);margin-bottom:.75rem;}
.section-h2{font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:-1px;margin-bottom:2.5rem;color:var(--text);}
.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem;}
.feature-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;transition:border-color .15s,box-shadow .15s;}
.feature-card:hover{border-color:var(--brand);box-shadow:0 4px 20px rgba(45,91,227,.1);}
.feature-card-icon{font-size:28px;margin-bottom:.75rem;}
.feature-card h3{font-size:15px;font-weight:700;margin-bottom:.5rem;}
.feature-card p{font-size:13px;color:var(--text-muted);line-height:1.6;}

/* ─── HOW IT WORKS ──────────────────────────────────────── */
.how-section{text-align:center;}
.steps-row{display:flex;align-items:flex-start;justify-content:center;gap:0;flex-wrap:wrap;}
.step-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:2rem 1.5rem;max-width:240px;text-align:center;}
.step-num{width:40px;height:40px;border-radius:50%;background:var(--brand);color:white;font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;}
.step-card h3{font-size:15px;font-weight:700;margin-bottom:.5rem;}
.step-card p{font-size:13px;color:var(--text-muted);line-height:1.6;}
.step-arrow{font-size:24px;color:var(--text-faint);padding:2rem .5rem;align-self:center;}

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-bottom:2.5rem;}
.testimonial-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;}
.testimonial-text{font-size:14px;line-height:1.7;color:var(--text);margin-bottom:1rem;font-style:italic;}
.testimonial-author{display:flex;align-items:center;gap:10px;}
.testimonial-avatar{width:36px;height:36px;border-radius:50%;background:var(--brand);color:white;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;}
.testimonial-name{font-size:13px;font-weight:600;}
.testimonial-source{font-size:11px;color:var(--text-faint);}
.discord-section{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem;}
.discord-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;display:flex;align-items:center;gap:14px;}
.discord-icon{width:48px;height:48px;border-radius:12px;background:#5865F2;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.discord-text{flex:1;}
.discord-name{font-size:14px;font-weight:700;margin-bottom:3px;}
.discord-desc{font-size:12px;color:var(--text-muted);line-height:1.5;}
.discord-btn{padding:7px 14px;background:#5865F2;color:white;border-radius:var(--radius-sm);font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s;}
.discord-btn:hover{background:#4752C4;}

/* ─── CTA ───────────────────────────────────────────────── */
.cta-section{text-align:center;background:var(--brand);border-radius:var(--radius);padding:4rem 2rem;max-width:900px;margin:0 auto 5rem;}
.cta-section h2{font-size:36px;font-weight:800;color:white;letter-spacing:-1px;margin-bottom:.75rem;}
.cta-section p{font-size:16px;color:rgba(255,255,255,.8);margin-bottom:2rem;}
.btn-cta{display:inline-block;padding:14px 32px;background:white;color:var(--brand);border-radius:var(--radius);font-size:15px;font-weight:800;transition:all .15s;}
.btn-cta:hover{background:var(--brand-light);}
.cta-note{margin-top:.75rem;font-size:13px;color:rgba(255,255,255,.6);}
.cta-vault{margin-bottom:1.5rem;}

/* ─── FOOTER ────────────────────────────────────────────── */
.mkt-footer{text-align:center;padding:2rem;border-top:1px solid var(--border);color:var(--text-muted);font-size:13px;}
.footer-logo{font-size:16px;font-weight:700;margin-bottom:.75rem;color:var(--text);}
.footer-logo strong{color:var(--brand);}
.footer-links{display:flex;gap:1rem;justify-content:center;margin-bottom:.75rem;}
.footer-links a{color:var(--text-muted);}
.footer-links a:hover{color:var(--text);}
.footer-note{font-size:12px;color:var(--text-faint);}

/* ─── AUTH PAGES ────────────────────────────────────────── */
.page-auth{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:var(--bg);}
.auth-wrap{width:100%;max-width:400px;}
.auth-logo{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:600;color:var(--text);margin-bottom:2rem;letter-spacing:-.4px;}
.auth-logo strong{color:var(--brand);}
.auth-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;}
.auth-title{font-size:22px;font-weight:800;letter-spacing:-.5px;margin-bottom:.25rem;}
.auth-sub{font-size:14px;color:var(--text-muted);margin-bottom:1.5rem;}
.auth-providers{display:flex;flex-direction:column;gap:8px;margin-bottom:1rem;}
.auth-provider-btn{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--border-md);border-radius:var(--radius-sm);background:var(--bg-card);color:var(--text);font-size:13px;font-weight:500;transition:all .15s;}
.auth-provider-btn:hover{background:var(--bg-secondary);border-color:var(--brand);}
.auth-divider{text-align:center;position:relative;margin:1rem 0;}
.auth-divider::before{content:'';position:absolute;top:50%;left:0;right:0;height:1px;background:var(--border);}
.auth-divider span{position:relative;background:var(--bg-card);padding:0 10px;font-size:12px;color:var(--text-faint);}
.form-group{margin-bottom:1rem;}
.form-group label{display:flex;justify-content:space-between;font-size:13px;font-weight:500;margin-bottom:5px;color:var(--text);}
.form-label-link{font-size:12px;color:var(--brand);font-weight:400;}
.form-group input{width:100%;padding:9px 12px;border:1px solid var(--border-md);border-radius:var(--radius-sm);background:var(--bg-secondary);color:var(--text);font-size:14px;outline:none;transition:border-color .15s;}
.form-group input:focus{border-color:var(--brand);}
.form-check{display:flex;align-items:flex-start;gap:8px;margin-bottom:1rem;font-size:13px;color:var(--text-muted);}
.form-check input{margin-top:2px;flex-shrink:0;}
.form-check a{color:var(--brand);}
.auth-submit-btn{width:100%;padding:11px;background:var(--brand);color:white;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:700;cursor:pointer;transition:background .15s;}
.auth-submit-btn:hover{background:var(--brand-dark);}
.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed;}
.auth-switch{text-align:center;font-size:13px;color:var(--text-muted);margin-top:1rem;}
.auth-switch a{color:var(--brand);font-weight:500;}
.auth-error{background:var(--red-light);color:var(--red);border:1px solid var(--red);border-radius:var(--radius-sm);padding:10px 12px;font-size:13px;margin-bottom:1rem;}
.auth-success{background:var(--green-light);color:var(--green);border:1px solid var(--green);border-radius:var(--radius-sm);padding:10px 12px;font-size:13px;margin-bottom:1rem;}

/* ─── HELP PAGE ─────────────────────────────────────────── */
.page-help{background:var(--bg);}
.help-wrap{display:grid;grid-template-columns:220px 1fr;max-width:1100px;margin:2rem auto;gap:2.5rem;padding:0 2rem;}
.help-sidebar{position:sticky;top:80px;align-self:start;height:fit-content;}
.help-sidebar-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--text-faint);margin-bottom:.75rem;}
.help-nav{display:flex;flex-direction:column;gap:2px;}
.help-nav-link{font-size:13px;color:var(--text-muted);padding:6px 10px;border-radius:var(--radius-sm);transition:all .15s;}
.help-nav-link:hover{background:var(--bg-secondary);color:var(--text);}
.help-nav-link.active{background:var(--brand-light);color:var(--brand);font-weight:600;}
.help-content{padding-bottom:4rem;}
.help-content h1{font-size:32px;font-weight:800;letter-spacing:-1px;margin-bottom:.5rem;}
.help-intro{font-size:16px;color:var(--text-muted);margin-bottom:2rem;}
.help-section{margin-bottom:3rem;padding-bottom:3rem;border-bottom:1px solid var(--border);}
.help-section:last-child{border-bottom:none;}
.help-section h2{font-size:22px;font-weight:800;letter-spacing:-.5px;margin-bottom:.75rem;}
.help-section h3{font-size:15px;font-weight:700;margin-top:1.25rem;margin-bottom:.5rem;}
.help-section p{font-size:14px;color:var(--text-muted);line-height:1.7;margin-bottom:.75rem;}
.help-section code{background:var(--bg-secondary);padding:2px 6px;border-radius:4px;font-size:12px;font-family:var(--mono);}
.help-callout{background:var(--brand-light);border-left:3px solid var(--brand);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:10px 14px;font-size:13px;margin:1rem 0;}
.help-steps{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0;}
.help-step{display:flex;align-items:flex-start;gap:12px;font-size:14px;color:var(--text-muted);line-height:1.6;}
.help-step-num{width:24px;height:24px;border-radius:50%;background:var(--brand);color:white;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;}
.help-card{display:flex;align-items:flex-start;gap:12px;background:var(--bg-secondary);border-radius:var(--radius-sm);padding:12px 14px;margin:.75rem 0;}
.help-card-icon{font-size:20px;flex-shrink:0;margin-top:2px;}
.help-card p{margin:0;font-size:13px;}
.help-table{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;margin:1rem 0;}
.help-table-row{display:grid;grid-template-columns:160px 1fr;font-size:13px;}
.help-table-row:not(:last-child){border-bottom:1px solid var(--border);}
.help-table-key{background:var(--bg-secondary);padding:10px 14px;font-weight:600;color:var(--text);}
.help-table-row div:last-child{padding:10px 14px;color:var(--text-muted);}
.faq-item{margin-bottom:1rem;}
.faq-q{font-size:14px;font-weight:700;color:var(--text);margin-bottom:.4rem;}
.faq-a{font-size:13px;color:var(--text-muted);line-height:1.7;}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media(max-width:768px){
  .mkt-nav-links{display:none;}
  .mkt-menu-btn{display:flex;}
  .stats-bar-inner{flex-direction:column;gap:1rem;}
  .stats-bar-divider{display:none;}
  .step-arrow{display:none;}
  .steps-row{flex-direction:column;align-items:center;gap:1rem;}
  .help-wrap{grid-template-columns:1fr;}
  .help-sidebar{display:none;}
}
