:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --surface: #111111;
  --surface-2: #181818;
  --border: rgba(255, 255, 255, 0.16);
  --border-soft: rgba(255, 255, 255, 0.10);

  --text: #f5f5f5;
  --text-dim: #a3a3a3;
  --text-faint: #666666;

  --accent: #ffffff;       /* bastion signal — pure white */
  --accent-strong: #ffffff;
  --accent-2: #cfcfcf;     /* secondary signal — light grey, scan / data */
  --accent-10: rgba(255, 255, 255, 0.10);
  --accent-2-10: rgba(255, 255, 255, 0.06);

  --danger: #f5f5f5;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Reset
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ============================================================
   Background grid — faint schematic backdrop, fixed
   ============================================================ */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 75%);
  opacity: 0.5;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.brand.small { font-size: 1rem; }

.brand-mark svg { width: 26px; height: 26px; }

.brand-thin { font-weight: 500; color: var(--text-dim); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.main-nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000000;
}

.btn-primary:hover {
  background: var(--accent-strong);
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 96px 32px 88px;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.eyebrow.center { text-align: center; margin-left: auto; margin-right: auto; }

.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.06;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.hero-actions .btn-ghost { padding-left: 4px; padding-right: 4px; border-color: transparent; }
.hero-actions .btn-ghost:hover { border-color: transparent; }

.hero-meta {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}

.hero-meta dt {
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.hero-meta dd {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* --- hero visual: the shield --- */

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.shield-svg {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 60px rgba(255, 255, 255, 0.10));
  animation: shield-spin 6s linear infinite;
  transform-style: preserve-3d;
  backface-visibility: visible;
}

.shield-outline { }

.node-net line {
  stroke-dasharray: 4;
}

.node-dots circle {
  animation: node-pulse 3.2s var(--ease) infinite;
}
.node-dots circle:nth-child(1) { animation-delay: 0s; }
.node-dots circle:nth-child(2) { animation-delay: 0.4s; }
.node-dots circle:nth-child(3) { animation-delay: 0.8s; }
.node-dots circle:nth-child(4) { animation-delay: 1.2s; }
.node-dots circle:nth-child(5) { animation-delay: 1.6s; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.55; r: 4; }
  50% { opacity: 1; r: 5.5; }
}

.scan-sweep {
  animation: scan-down 3.6s linear infinite;
}

@keyframes scan-down {
  0% { transform: translateY(0); }
  100% { transform: translateY(520px); }
}

@keyframes shield-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.shield-inner { animation: inner-glow 4.8s ease-in-out infinite; }

@keyframes inner-glow {
  0%, 100% { stroke-opacity: 0.3; }
  50% { stroke-opacity: 0.6; }
}

/* ============================================================
   Strip (client-category ticker)
   ============================================================ */

.strip {
  padding: 28px 32px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  z-index: 1;
}

.strip-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.strip-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.strip-list li {
  font-size: 0.88rem;
  color: var(--text-dim);
  position: relative;
  padding-left: 18px;
}

.strip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* ============================================================
   Section shell
   ============================================================ */

.section {
  padding: 108px 32px;
  z-index: 1;
}

.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 56px;
  max-width: 26ch;
}

.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   Services
   ============================================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 34px 26px;
  transition: background 0.25s var(--ease);
}

.service-card:hover { background: var(--surface-2); }

.service-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-2);
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   Process
   ============================================================ */

.process-list {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--border-soft);
}

.process-step:last-child { border-bottom: 1px solid var(--border-soft); }

.process-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  padding-top: 4px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* ============================================================
   Stats
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.stat {
  background: var(--bg-alt);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  padding: 120px 32px;
  text-align: center;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  max-width: 22ch;
  margin: 0 auto 18px;
}

.cta p {
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 36px;
}

.cta .btn-primary { padding: 14px 28px; font-size: 0.95rem; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: 56px 32px 40px;
  border-top: 1px solid var(--border-soft);
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-cols h4 {
  font-size: 0.76rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cols a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.footer-cols a:hover { color: var(--accent-2); }

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-faint);
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto 16px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 72px 20px; }
  .hero { padding: 56px 20px 56px; }
  .hero-meta { flex-direction: column; gap: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; }
  .cta { padding: 80px 20px; }
}


/*Link your wallet*/
.doyin {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 900px;
}

h1 {
    color: #f0f0f0;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    font-style: oblique;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    justify-content: center;
}

.wallet-card {
    background-color: #242424;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    min-height: 140px;
    cursor: pointer;
    border: 1px solid transparent;
}

.wallet-card:hover {
    background-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.wallet-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.wallet-card span {
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wallet-card .btn {
    color: #666;
    text-decoration: none;
    border: 1px solid #444;
    background-color: #2c2c2c;
    padding: 12px 30px;
    border-radius: 25px;
    transition: 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}

.wallet-card .btn:hover {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal {
    background-color: #1e1e1e;
    border-radius: 16px;
    padding: 30px;
    width: 480px;
    max-width: 90%;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.wallet-info {
    display: flex;
    align-items: center;
}

.wallet-info img {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    object-fit: contain;
}

.wallet-info span {
    font-size: 20px;
    font-weight: 600;
    color: #e0e0e0;
}

.close-button {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.close-button:hover {
    background-color: #2c2c2c;
    color: #fff;
}

.close-button svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 25px;
}

.tab {
    background: none;
    border: none;
    color: #888;
    padding: 12px 18px;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab.active {
    color: #e0e0e0;
    border-bottom-color: #1976d2;
    font-weight: 600;
}

.tab:hover:not(.active) {
    color: #ccc;
}

.tab svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
}

.modal-content {
    padding-top: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #333;
    border-radius: 10px;
    background-color: #2c2c2c;
    color: #e0e0e0;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input[type="text"]:focus,
.input-group input[type="password"]:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.3);
}

.input-group input::placeholder {
    color: #777;
}

.keystore-upload-group {
    margin-bottom: 25px;
}

.input-group input[type="file"] {
    background-color: #2c2c2c;
    border: 1px solid #333;
    border-radius: 10px;
    color: #e0e0e0;
    padding: 14px 18px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

.input-group input[type="file"]::before {
    content: 'Choose Keystore File';
    display: inline-block;
    background: #3a3a3a;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 8px 12px;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #ccc;
}

.input-group input[type="file"]:hover::before {
    border-color: #1976d2;
    background-color: #1976d2;
    color: #fff;
}

.input-group input[type="file"]:focus::before {
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.3);
}

.input-hint {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    text-align: center;
}

.secure-button {
    background-color: #1976d2;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease, transform 0.2s ease;
    letter-spacing: 1px;
}

.secure-button:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
}

.hidden {
    display: none;
}

.alert {
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  margin-top: 10px;
}


/* =========================
   RESPONSIVENESS
========================= */

/* Tablets */
@media (max-width:768px) {


    /* ===== Existing Styles ===== */

    .wallet-grid{
        grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
        gap:15px;
    }

    .wallet-card{
        min-height:100px;
    }

    .wallet-card img{
        width:45px;
        height:45px;
    }

    .wallet-card span{
        font-size:14px;
    }

    h1{
        font-size:22px;
    }

    .modal{
        width:90%;
        padding:18px;
    }

    .wallet-info img{
        width:24px;
        height:24px;
    }

    .wallet-info span{
        font-size:16px;
    }

    .tab{
        padding:8px 12px;
        font-size:14px;
    }

    .tab svg{
        width:18px;
        height:18px;
    }

    .input-group input{
        font-size:14px;
        padding:10px 14px;
    }

    .secure-button{
        padding:12px 20px;
        font-size:15px;
    }
}


/* Mobile */
@media (max-width:480px){


    /* ===== Existing Styles ===== */

    .wallet-grid{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .wallet-card{
        min-height:90px;
        padding:15px;
    }

    .wallet-card img{
        width:40px;
        height:40px;
    }

    .wallet-card span{
        font-size:13px;
    }

    h1{
        font-size:20px;
        text-align:center;
    }

    body{
        padding:15px;
    }

    .modal{
        padding:15px;
    }

    .wallet-info img{
        width:20px;
        height:20px;
    }

    .wallet-info span{
        font-size:15px;
    }

    .tab{
        padding:6px 10px;
        font-size:13px;
    }

    .tab svg{
        width:16px;
        height:16px;
    }

    .input-group input{
        font-size:13px;
        padding:8px 12px;
    }

    .input-hint{
        font-size:12px;
    }

    .secure-button{
        padding:10px 18px;
        font-size:14px;
    }
}