/* ============================================================
   CrossProof shared site stylesheet
   Fonts, color variables, nav, footer, and button styles pulled
   from the homepage so every public marketing page uses one
   visual design system. Page-specific layout (hero, diagram,
   per-page content blocks) stays in each page's own <style>.
   ============================================================ */

:root {
  --primary: #654fe8;
  --secondary: #4f3c9e;
  --accent-green: #00e48a;
  --bg-dark: #080619;
  --bg-light: #ffffff;
  --bg-light-gray: #e6e6e6;
  --text-muted: #69727d;
  --border-dark: #FFFFFF26;
  --container-max: 1240px;
  --section-pad: 80px;
  --section-pad-mobile: 60px;
  --radius-card: 8px;
  --radius-pill: 100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.5; font-weight: 400;
  background: var(--bg-light); color: #10121a;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Red Hat Display', -apple-system, sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--section-pad) 0; }
@media (max-width: 768px) { .section-pad { padding: var(--section-pad-mobile) 0; } }

/* ---------------- Check icon ---------------- */
.check-icon { flex: 0 0 auto; width: 18px; height: 18px; display: inline-flex; }
.check-icon svg { width: 100%; height: 100%; }

/* ---------------- Nav ---------------- */
.site-nav { position: sticky; top: 0; z-index: 500; background: var(--bg-dark); border-bottom: 1px solid var(--border-dark); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-wordmark { font-family: 'Red Hat Display', -apple-system, sans-serif; font-weight: 700; font-size: 20px; color: #ffffff; letter-spacing: -0.3px; }
.nav-brand-group { display: flex; align-items: center; gap: 10px; }
.nav-patent { font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,0.45); letter-spacing: 0.02em; white-space: nowrap; }
@media (max-width: 400px) { .nav-patent { font-size: 10px; } }
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > .nav-top-link { display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.85); background: none; border: none; }
.nav-item > .nav-top-link:hover, .nav-item.open > .nav-top-link { color: #ffffff; background: rgba(255,255,255,0.06); }
.nav-caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform 0.15s ease; }
.nav-item.open .nav-caret { transform: rotate(-135deg); margin-top: 2px; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #0f0b2e; border: 1px solid var(--border-dark); border-radius: var(--radius-card);
  padding: 8px; display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.nav-item.open .nav-dropdown { display: flex; }
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14px; color: rgba(255,255,255,0.85); }
.nav-dropdown a:hover { background: rgba(101,79,232,0.2); color: #ffffff; }
.nav-dropdown a .tag { color: var(--accent-green); font-size: 11px; font-weight: 600; margin-left: 6px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-login-link { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.85); padding: 10px 12px; }
.nav-login-link:hover { color: #ffffff; }
.btn-pill-small { padding: 9px 20px; border-radius: var(--radius-pill); background: var(--primary); color: #ffffff; font-size: 14px; font-weight: 600; }
.btn-pill-small:hover { background: var(--secondary); }
.nav-hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #ffffff; border-radius: 2px; }

.mobile-menu-overlay {
  display: none; position: fixed; inset: 0; z-index: 600; background: var(--bg-dark);
  padding: 24px; overflow-y: auto;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-menu-close { background: none; border: none; color: #ffffff; font-size: 28px; line-height: 1; padding: 6px; }
.mobile-menu-section { margin-bottom: 22px; }
.mobile-menu-heading { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 10px; }
.mobile-menu-overlay a.mobile-menu-link { display: block; padding: 12px 0; font-size: 17px; color: #ffffff; border-bottom: 1px solid var(--border-dark); }
.mobile-menu-overlay a.mobile-menu-link .tag { color: var(--accent-green); font-size: 11px; font-weight: 600; margin-left: 8px; }
.mobile-menu-overlay .btn-pill-small { display: inline-block; margin-top: 18px; }

@media (max-width: 900px) {
  .nav-center { display: none; }
  .nav-right .nav-login-link, .nav-right .btn-pill-small { display: none; }
  .nav-hamburger { display: flex; }
}

/* ---------------- Shared buttons / CTA primitives ---------------- */
.btn-filled-lg {
  background: var(--primary); color: #ffffff; min-width: 200px; height: 56px;
  padding: 0 28px; border-radius: 8px; font-size: 15.5px; font-weight: 600; border: none;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn-filled-lg:hover { background: var(--secondary); }
.btn-outline-lg {
  background: #1b153e; min-width: 200px; height: 56px;
  padding: 0 27px; border-radius: 8px; font-size: 15.5px; font-weight: 600; border: 1px solid var(--primary); color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn-outline-lg:hover { background: #241a4f; }
.btn-filled-sm { background: var(--primary); color: #ffffff; padding: 11px 18px; border-radius: 8px; font-size: 13.5px; font-weight: 600; text-align: center; }
.btn-filled-sm:hover { background: var(--secondary); }
.btn-outline-sm { padding: 10px 17px; border-radius: 8px; font-size: 13.5px; font-weight: 600; text-align: center; border: 1px solid rgba(255,255,255,0.35); }
.btn-outline-sm:hover { border-color: #ffffff; background: rgba(255,255,255,0.06); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 16px; margin-bottom: 10px; }
.hero-actions-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.btn-fine-print { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.nettone-only-note { font-size: 12px; color: rgba(255,255,255,0.55); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 30px; }
.trust-row .check-icon { width: 15px; height: 15px; }
.trust-row .sep { color: rgba(255,255,255,0.3); margin: 0 4px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 36px; }
.footer-col { flex: 1 1 160px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.footer-col a, .footer-col .footer-text { display: block; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 9px; }
.footer-col a:hover { color: #ffffff; }
.footer-stamp { font-family: 'Red Hat Display', sans-serif; font-size: 15px; font-weight: 700; color: #ffffff; padding-top: 24px; border-top: 1px solid var(--border-dark); margin-bottom: 10px; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.45); }
