  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ink: #f0eeff;
    --ink-muted: #9988bb;
    --ink-faint: #554477;
    --surface: #000000;
    --surface-alt: #0d0d0d;
    --surface-raised: #111016;
    --border: #1e1a2e;
    --border-mid: #2e2848;
    --accent: #9b5cf6;
    --accent-dark: #7c3aed;
    --accent-soft: #1a1030;
    --accent-glow: rgba(155,92,246,0.15);
    --shield: #130f23;
    --white: #ffffff;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 10px;
    --radius-lg: 16px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV ── */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
  }

  .nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent-soft);
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .nav-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .nav-logo-img .logo-placeholder {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: -0.5px;
  }

  .nav-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--ink);
    letter-spacing: -0.3px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }

  .nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    cursor: pointer;
  }

  .nav-links a:hover { color: var(--ink); background: var(--surface-raised); }
  .nav-links a.active { color: var(--accent); font-weight: 500; }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
  }

  .btn-ghost {
    background: transparent;
    color: var(--ink-muted);
    border: 1px solid var(--border-mid);
  }
  .btn-ghost:hover { background: var(--surface-raised); color: var(--ink); border-color: var(--accent); }

  .btn-primary {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
  }
  .btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

  .btn-donate {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
  }
  .btn-donate:hover { background: var(--accent-dark); }

  /* ── PAGES ── */
  .page { display: none; }
  .page.active { display: block; }

  /* ── HOME ── */
  .hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 100px 2rem 80px;
    text-align: center;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--border-mid);
    padding: 5px 12px;
    border-radius: 99px;
    margin-bottom: 28px;
  }

  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 20px;
  }

  .hero h1 em {
    font-style: normal;
    color: var(--accent);
  }

  .hero-sub {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 300;
  }

  .hero-ctas {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-ctas .btn { padding: 12px 22px; font-size: 15px; }

  /* ── PILLARS ── */
  .pillars {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 2rem 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .pillar {
    background: var(--surface-raised);
    padding: 32px 32px;
	margin-top: 32px;
  }

  .pillar-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pillar-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .pillar h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
  }

  .pillar p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

  /* ── PROJECTS SECTION ── */
  .section {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 2rem 100px;
  }

  .section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 12px;
	margin-top: 50px;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 48px;
    color: var(--ink);
  }

  .project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-raised);
    margin-bottom: 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .project-card:hover { box-shadow: 0 0 32px var(--accent-glow); border-color: var(--accent); }

  .project-img {
    background: var(--shield);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border);
  }

  .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
  }

  .project-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
    font-weight: 400;
    z-index: 1;
  }

  .project-img-placeholder svg { width: 32px; height: 32px; stroke: rgba(255,255,255,0.25); fill: none; stroke-width: 1.5; }

  .project-body {
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .project-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--border-mid);
    padding: 3px 10px;
    border-radius: 99px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
  }

  .project-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.6px;
    margin-bottom: 12px;
    color: var(--ink);
  }

  .project-body p {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .project-links { display: flex; gap: 10px; flex-wrap: wrap; }

  /* ── ABOUT STRIP ── */
  .about-strip {
    background: var(--shield);
    border-top: 1px solid var(--border-mid);
    border-bottom: 1px solid var(--border-mid);
    color: white;
    padding: 80px 2rem;
    text-align: center;
  }

  .about-strip-inner { max-width: 640px; margin: 0 auto; }

  .about-strip h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
  }

  .about-strip p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 32px;
  }

  /* ── PRIVAMI AI PAGE ── */
  .ai-hero {
    background: var(--shield);
    border-bottom: 1px solid var(--border-mid);
    color: white;
    padding: 80px 2rem 0;
    text-align: center;
  }

  .ai-hero-inner { max-width: 720px; margin: 0 auto; }

  .ai-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.12;
    margin-bottom: 16px;
  }

  .ai-hero h1 span { color: #7b9dff; }

  .ai-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin-bottom: 36px;
  }

  .ai-hero-ctas { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
  .ai-hero-ctas .btn { padding: 12px 22px; font-size: 15px; }

  .btn-light {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
  }
  .btn-dark {
    background: var(--surface-raised);
    color: white;
    border: 1px solid var(--border-mid);
  }
  .btn-dark:hover { border-color: var(--accent-dark); }
  .btn-light:hover { background: var(--accent-dark); }

  .btn-outline-white {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid var(--border-mid);
  }
  .btn-outline-white:hover { background: var(--accent-soft); border-color: var(--accent); color: white; }

  .ai-hero-screenshot {
    max-width: 780px;
    margin: 40px auto 0;
    background: rgba(155,92,246,0.05);
    border: 1px solid var(--border-mid);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }

  .ai-hero-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    border-radius: 12px 12px 0 0;
  }

  .screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.2);
    font-size: 13px;
    z-index: 1;
  }

  .screenshot-placeholder svg { width: 36px; height: 36px; stroke: rgba(255,255,255,0.2); fill: none; stroke-width: 1.5; }

  /* ── FEATURES GRID ── */
  .features-section {
    max-width: 1020px;
    margin: 0 auto;
    padding: 80px 2rem;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
  }

  .feature-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 28px 28px;
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .feature-card:hover { box-shadow: 0 0 24px var(--accent-glow); border-color: var(--accent); }

  .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .feature-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .feature-card h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
  }

  .feature-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

  /* ── HOW IT WORKS ── */
  .how-section {
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 2rem;
  }

  .how-inner { max-width: 800px; margin: 0 auto; }

  .how-steps {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .how-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
  }

  .how-step:last-child { border-bottom: none; }

  .step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .how-step h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
  }

  .how-step p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

  /* ── PARAMS TABLE ── */
  .params-section {
    max-width: 1020px;
    margin: 0 auto;
    padding: 80px 2rem;
  }

  .params-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-raised);
    margin-top: 40px;
    font-size: 14px;
  }

  .params-table thead { background: var(--surface-alt); }

  .params-table th {
    text-align: left;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
    border-bottom: 1px solid var(--border-mid);
  }

  .params-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--ink-muted);
    line-height: 1.5;
  }

  .params-table tr:last-child td { border-bottom: none; }

  .params-table td:first-child {
    font-family: monospace;
    font-size: 13px;
    color: var(--accent);
    background: var(--accent-soft);
    white-space: nowrap;
  }

  /* ── MODELS ── */
  .models-section {
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
    padding: 80px 2rem;
  }

  .models-inner { max-width: 1020px; margin: 0 auto; }

  .model-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
  }

  .model-pill {
    background: var(--surface-raised);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    padding: 10px 18px;
    font-size: 14px;
    font-family: monospace;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .model-pill-note { font-family: var(--font-body); font-size: 12px; color: var(--ink-faint); }

  /* ── INSTALL ── */
  .install-section {
    max-width: 1020px;
    margin: 0 auto;
    padding: 80px 2rem;
  }

  .code-block {
    background: var(--surface-alt);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-top: 32px;
    overflow-x: auto;
  }

  .code-block pre {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #c4b5fd;
    line-height: 1.8;
    white-space: pre;
  }

  .code-block .code-comment { color: #4d3a6b; }
  .code-block .code-cmd { color: var(--accent); }

  /* ── DONATE PAGE ── */
  .donate-hero {
    max-width: 640px;
    margin: 0 auto;
    padding: 100px 2rem 60px;
    text-align: center;
  }

  .donate-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .donate-hero p {
    font-size: 17px;
    color: var(--ink-muted);
    line-height: 1.65;
  }

  .donate-options {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .donate-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .donate-card:hover { box-shadow: 0 0 24px var(--accent-glow); border-color: var(--accent); }

  .donate-card.featured {
    border: 2px solid var(--accent);
    position: relative;
  }

  .donate-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 99px;
    white-space: nowrap;
    letter-spacing: 0.04em;
  }

  .donate-amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 6px;
  }

  .donate-amount span { font-size: 18px; font-weight: 400; color: var(--ink-muted); }

  .donate-card h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
  }

  .donate-card p { font-size: 13px; color: var(--ink-muted); line-height: 1.55; margin-bottom: 24px; }

  .donate-card .btn { width: 100%; justify-content: center; }

  .donate-why {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 2rem 80px;
    text-align: center;
  }

  .donate-why h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
  }

  .donate-why p { font-size: 15px; color: var(--ink-muted); line-height: 1.7; margin-bottom: 10px; }

  .donate-custom {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 2rem 100px;
  }

  .donate-custom-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
	margin-bottom: 24px;
  }

  .donate-custom-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .donate-custom-card p { font-size: 14px; color: var(--ink-muted); margin-bottom: 24px; }
  .donate-custom-card .btn { width: 100%; justify-content: center; font-size: 15px; padding: 13px; }
  .qr-code-container {  margin: 16px 0;  display: flex;  justify-content: center;}
  .qr-code {  width: 180px;  height: 180px;  border: 1px solid #ddd;  border-radius: 4px;}
  .bitcoin-address,.monero-address {  background-color: #303030;  padding: 12px;  border-radius: 4px;  font-family: monospace;}

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 40px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-left { display: flex; align-items: center; gap: 10px; }

  .footer-logo-img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--accent-soft);
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .footer-logo-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
  .footer-logo-img .logo-placeholder { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--accent); }

  .footer-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
  }

  .footer-copy { font-size: 13px; color: var(--ink-faint); }

  .footer-right { display: flex; align-items: center; gap: 8px; }

  /* ── RESPONSIVE ── */
  @media (max-width: 700px) {
    .project-card { grid-template-columns: 1fr; }
    .project-img { min-height: 200px; }
    .nav-links { display: none; }
    .hero { padding: 60px 1.5rem 60px; }
    .pillars { border-radius: 0; border-left: none; border-right: none; }
  }
