/* ==========================================================================
   066 · VAULTSHIELD (درع الخزينة) — 1:1 Warm Editorial Mesh & Electric Violet (#7342E2)
   .hero-mesh warm radial canvas · Inline violet SVG icons inside H1 · Stretched CTA + 6 hash routes
   ========================================================================== */

:root {
  --vs-text: #192837;
  --vs-accent: #7342E2;
  --vs-warm: #F2F2EE;
  --vs-sans: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
  --vs-mono: 'JetBrains Mono', monospace;
}

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

html, body {
  min-height: 100%;
  color: var(--vs-text);
  font-family: var(--vs-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

body.hero-mesh {
  background:
    radial-gradient(ellipse 75% 55% at 15% 15%, rgba(115, 66, 226, 0.34), transparent 55%),
    radial-gradient(ellipse 65% 50% at 95% 90%, rgba(25, 40, 55, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(207, 200, 197, 0.9), transparent),
    linear-gradient(165deg, #E8E4DF, #F2F2EE 40%, #D8D2CC);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
  letter-spacing: 0;
}

/* ======================== TOP NAVBAR ======================== */
.vs-header {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--vs-text);
  white-space: nowrap;
}

.vs-brand svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.vs-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.vs-nav a {
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.vs-nav a:hover,
.vs-nav a.is-active {
  opacity: 1;
  color: var(--vs-accent);
}

.vs-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.vs-btn-violet {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: var(--vs-accent);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vs-btn-violet:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(115, 66, 226, 0.3);
}

.vs-btn-warm {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(25, 40, 55, 0.12);
  background: var(--vs-warm);
  color: var(--vs-text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

/* ======================== HOME HERO (#/) ======================== */
.vs-main {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(32px, 5.5vw, 64px) 32px clamp(44px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.vs-hero-copy {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vs-h1 {
  font-size: clamp(2rem, 4.1vw, 3.15rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--vs-text);
}

.vs-inline-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.14em;
  width: 34px;
  height: 34px;
  color: var(--vs-accent);
  margin-inline: 3px;
}

.vs-sub {
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.75;
  color: rgba(25, 40, 55, 0.8);
}

.vs-stretched-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 26px;
  border-radius: 999px;
  border: none;
  background: var(--vs-accent);
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(115, 66, 226, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vs-stretched-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(115, 66, 226, 0.38);
}

.vs-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 4px;
}

.vs-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.vs-badge-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(115, 66, 226, 0.12);
  color: var(--vs-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Interactive Secret-Injection Glass Card on the airy side of .hero-mesh */
.vs-vault-preview {
  width: 100%;
  max-width: 430px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px rgba(25, 40, 55, 0.09);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vs-secret-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(242, 242, 238, 0.88);
  border: 1px solid rgba(25, 40, 55, 0.08);
  font-family: var(--vs-mono);
  font-size: 12.5px;
}

/* ======================== HASH SUBROUTES (#/plans .. #/terms) ======================== */
.vs-subpage {
  display: none;
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px 76px;
}

body.is-sub .vs-main {
  display: none;
}

body.is-sub .vs-subpage {
  display: block;
}

.vs-grid-3 {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vs-grid-2 {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.vs-white-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(25, 40, 55, 0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ======================== FOOTER ======================== */
.vs-footer {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid rgba(25, 40, 55, 0.1);
  padding: 24px 32px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(25, 40, 55, 0.72);
}

.vs-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vs-footer-links a:hover {
  color: var(--vs-accent);
}

@media (max-width: 720px) {
  .vs-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .vs-nav {
    display: none;
  }
  .vs-grid-3, .vs-grid-2 {
    grid-template-columns: 1fr;
  }
}
