/* BitVault homepage - Stage 1 redesign.
   Scoped to .home-page so the dashboard and auth pages keep their existing
   design. Palette: ocean/sky blue, deep navy, gold. */
.home-page, .home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page {
  --home-deep: #020b12;
  --home-navy: #06151f;
  --home-navy-2: #0a2430;
  --home-ocean: #0050a0;
  --home-sky: #0179d3;
  --home-sky-soft: #74d8ff;
  --home-gold: #f4c92d;
  --home-gold-soft: #ffe27a;
  --home-gold-deep: #c98a0f;
  --home-text: #eaf4ff;
  --home-muted: #a9c2de;
  background: var(--home-deep);
  color: var(--home-text);
  margin: 0;
  font-family: "Manrope", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
.home-page.rtl {
  direction: rtl;
}
.home-page.rtl .hero-actions,
.home-page.rtl .home-btn,
.home-page.rtl .home-nav,
.home-page.rtl .home-header-actions,
.home-page.rtl .home-footer-bottom,
.home-page.rtl .cta-inner,
.home-page.rtl .hero-feature,
.home-page.rtl .split-point,
.home-page.rtl .contact-row {
  direction: rtl;
}
.home-page.rtl .home-nav { margin-left: 0; margin-right: auto; }
.home-page.rtl .language-button,
.home-page.rtl .language-option,
.home-page.rtl .home-btn,
.home-page.rtl .home-nav a,
.home-page.rtl .hero-feature,
.home-page.rtl .contact-row,
.home-page.rtl .split-point {
  text-align: right;
}
.home-page.rtl .home-btn-play {
  margin-left: 0;
  margin-right: 8px;
}
.home-page.rtl .language-search {
  text-align: right;
}
.home-page.rtl .home-btn {
  flex-direction: row-reverse;
}
.home-page.rtl .hero-actions .home-btn {
  justify-content: center;
}
.home-page a { color: inherit; text-decoration: none; }
.home-page img { max-width: 100%; height: auto; display: block; }
.home-page h1, .home-page h2, .home-page h3 { margin: 0; font-weight: 800; line-height: 1.14; letter-spacing: -0.015em; }
.home-page p { margin: 0; }
.home-page ul { margin: 0; padding: 0; list-style: none; }
.home-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.home-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.home-page :focus-visible { outline: 3px solid var(--home-gold); outline-offset: 3px; border-radius: 4px; }

.home-skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 12px 18px; background: var(--home-gold); color: #10203a; font-weight: 700; }
.home-skip:focus { left: 12px; top: 12px; }

/* Header */
.home-header { position: sticky; top: 0; z-index: 60; background: linear-gradient(180deg, rgba(0, 24, 71, .97), rgba(0, 18, 55, .9)); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(244, 201, 45, .22); }
.home-header-inner { display: flex; align-items: center; gap: 22px; min-height: 78px; min-width: 0; }
.home-brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.home-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(145deg, var(--home-gold-soft), var(--home-gold-deep)); color: #0d2a4a; font-size: 21px; font-weight: 800; box-shadow: 0 6px 18px rgba(244, 201, 45, .28); overflow: hidden; }
/* Official BitVault logo. object-fit: contain keeps the eagle emblem whole and
   undistorted, and the responsive width/height below still resize the mark. */
.home-brand .home-brand-mark img, .home-footer-brand .home-brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Header-only sizing. The mark class is shared with the footer, so the larger
   box is scoped to .home-brand: the footer keeps its original 42px. object-fit:
   contain above keeps the eagle proportional and uncropped at either size. */
.home-brand .home-brand-mark { width: 56px; height: 56px; border-radius: 13px; }
.home-brand-text { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.home-brand-text span { color: var(--home-gold); }
.home-brand-sub { display: block; font-size: 9px; font-weight: 600; letter-spacing: .18em; color: var(--home-muted); text-transform: uppercase; }

.home-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); margin-left: auto; }
.home-nav a { position: relative; padding: 10px 2px; font-size: 14px; font-weight: 600; color: #dceafb; transition: color .2s ease; }
.home-nav a::after { position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--home-gold); content: ""; transition: right .25s ease; }
.home-nav a:hover, .home-nav a[aria-current="page"] { color: var(--home-gold); }
.home-nav a:hover::after, .home-nav a[aria-current="page"]::after { right: 0; }

.home-header-actions { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.home-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 24px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.home-btn:hover { transform: translateY(-2px); }
/* === BitVault CTA system: exactly TWO visual styles ====================
   1. .home-btn-primary    bright filled Aqua->Teal->Emerald  (Register, Get Started)
   2. .home-btn-secondary  dark aqua/emerald glass          (Login, View Plan)
   Both are derived from the approved header Register / Login buttons.
   ==================================================================== */
.home-btn-primary { position: relative; border: 1px solid rgba(56, 242, 224, .5); background: linear-gradient(135deg, #38F2E0 0%, #14CFA8 52%, #16C96B 100%); color: #052b2c; text-shadow: 0 1px 0 rgba(255, 255, 255, .2); box-shadow: 0 10px 26px rgba(20, 207, 168, .36), 0 0 0 1px rgba(56, 242, 224, .32), 0 0 20px rgba(56, 242, 224, .22), inset 0 1px 0 rgba(255, 255, 255, .36); }
.home-btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 -14px 22px rgba(3, 84, 62, .16); }
.home-btn-primary:hover { border-color: rgba(56, 242, 224, .7); background: linear-gradient(135deg, #5cf8e9 0%, #22e0b6 52%, #1ad877 100%); color: #032220; box-shadow: 0 14px 34px rgba(20, 207, 168, .5), 0 0 0 1px rgba(56, 242, 224, .55), 0 0 28px rgba(56, 242, 224, .32), inset 0 1px 0 rgba(255, 255, 255, .44); }
.home-btn-secondary { position: relative; border: 1px solid rgba(56, 242, 224, .5); background: linear-gradient(135deg, rgba(20, 207, 168, .2) 0%, rgba(16, 201, 140, .12) 100%); color: #e2fff9; text-shadow: 0 1px 2px rgba(3, 26, 32, .55); box-shadow: 0 10px 26px rgba(4, 34, 46, .45), 0 0 0 1px rgba(56, 242, 224, .16), 0 0 18px rgba(20, 207, 168, .2), inset 0 1px 0 rgba(255, 255, 255, .14); }
.home-btn-secondary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 18px rgba(45, 212, 191, .22); }
.home-btn-secondary:hover { border-color: rgba(56, 242, 224, .85); background: linear-gradient(135deg, rgba(20, 207, 168, .32), rgba(16, 201, 140, .2)); color: #f2fffd; box-shadow: 0 14px 32px rgba(4, 34, 46, .5), 0 0 0 1px rgba(56, 242, 224, .38), 0 0 26px rgba(20, 207, 168, .36), inset 0 1px 0 rgba(255, 255, 255, .2); }
.home-btn-lg { min-height: 58px; padding: 0 34px; font-size: 15px; border-radius: 12px; }
.home-btn-block { width: 100%; }
.home-btn-play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 11px; }

/* Language selector */
.language { position: relative; }
.language-button { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 14px; border: 1px solid rgba(116, 216, 255, .34); border-radius: 10px; background: rgba(116, 216, 255, .08); color: #eaf4ff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.language-button:hover { background: rgba(116, 216, 255, .16); border-color: rgba(244, 201, 45, .6); }
.language-button::before { content: "\1F310"; font-size: 15px; }
.language-current::before { content: attr(data-flag) " "; }
.language-caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.language.is-open .language-caret { transform: rotate(225deg) translate(-2px, -2px); }
.language-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; width: 232px; max-height: 340px; overflow-y: auto; padding: 8px; border: 1px solid rgba(116, 216, 255, .26); border-radius: 14px; background: linear-gradient(180deg, #08233f, #00163f); box-shadow: 0 26px 60px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.language.is-open .language-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.language-list { display: grid; gap: 2px; }
.language-option { display: grid; grid-template-columns: 26px 1fr 16px; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: #e2f0fc; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s ease, color .15s ease; }
.language-option:hover, .language-option:focus-visible { background: rgba(116, 216, 255, .16); color: #fff; }
.language-option.is-active { background: rgba(244, 201, 45, .16); color: var(--home-gold-soft); }
.language-flag { font-size: 17px; line-height: 1; }
.language-check { font-size: 12px; opacity: 0; }
.language-option.is-active .language-check { opacity: 1; }

.home-burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(116, 216, 255, .34); border-radius: 10px; background: rgba(116, 216, 255, .08); cursor: pointer; }
.home-burger span, .home-burger span::before, .home-burger span::after { display: block; width: 20px; height: 2px; margin-inline: auto; background: #eaf4ff; content: ""; transition: transform .2s ease, opacity .2s ease; }
.home-burger span { position: relative; }
.home-burger span::before { position: absolute; top: -6px; }
.home-burger span::after { position: absolute; top: 6px; }
.home-burger[aria-expanded="true"] span { background: transparent; }
.home-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.home-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.home-mobile { display: none; }

/* Hero */
.home-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 118px) 0 clamp(56px, 7vw, 96px); }
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-scene::after { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 16, 46, .96) 0%, rgba(0, 20, 58, .9) 30%, rgba(0, 32, 82, .52) 58%, rgba(0, 30, 76, .18) 78%, rgba(0, 18, 52, .42) 100%); content: ""; }
/* bottom fade blends the scene into the first section */
.hero-scene::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 16, 47, .55) 0%, transparent 22%, transparent 62%, var(--home-deep) 100%); content: ""; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px; border: 1px solid rgba(244, 201, 45, .45); border-radius: 999px; background: rgba(244, 201, 45, .12); color: var(--home-gold-soft); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero-eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--home-gold); box-shadow: 0 0 12px rgba(244, 201, 45, .8); content: ""; }
.hero-title { font-size: clamp(38px, 6.1vw, 74px); }
.hero-title .accent { background: linear-gradient(120deg, var(--home-gold-soft), var(--home-gold) 55%, var(--home-gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 560px; margin-top: 22px; color: #dceafb; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.hero-feature { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid rgba(116, 216, 255, .2); border-radius: 12px; background: rgba(6, 28, 52, .6); backdrop-filter: blur(6px); transition: border-color .2s ease, transform .2s ease; }
.hero-feature:hover { border-color: rgba(244, 201, 45, .5); transform: translateY(-3px); }
.hero-feature-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; background: rgba(1, 121, 211, .18); color: var(--home-sky-soft); font-size: 15px; }
.hero-feature strong { display: block; font-size: 12.5px; font-weight: 700; }
.hero-feature small { display: block; color: var(--home-muted); font-size: 11px; }
.hero-disclosure { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--home-muted); font-size: 12px; }

/* Hero artwork is now real layered markup (.hero-scene children and
   .hero-art-vault); the old CSS-drawn coin/bar/orbit art below is retired. */
.hero-art { min-height: 0; }
/* Sections */
.home-section { position: relative; padding: clamp(62px, 7vw, 104px) 0; }
.home-section-alt { background: linear-gradient(180deg, #001a4a, #002a6c); border-block: 1px solid rgba(116, 216, 255, .14); }
.home-kicker { margin-bottom: 14px; color: var(--home-gold); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.home-title { font-size: clamp(27px, 3.6vw, 44px); }
.home-lead { color: #cfe2f7; }
.home-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 56px); }
.home-head .home-lead { margin-top: 16px; font-size: 16px; line-height: 1.8; }
.home-head-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-card { position: relative; padding: 28px 24px; border: 1px solid rgba(116, 216, 255, .18); border-radius: 16px; background: linear-gradient(160deg, rgba(0, 48, 105, .9), rgba(0, 26, 72, .95)); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.feature-card::before { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--home-gold), var(--home-sky)); content: ""; opacity: 0; transition: opacity .25s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(244, 201, 45, .45); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 14px; background: linear-gradient(145deg, rgba(1, 121, 211, .26), rgba(244, 201, 45, .18)); color: var(--home-gold-soft); font-size: 23px; }
.feature-card h3 { font-size: 18px; }
.feature-card p { margin-top: 11px; color: var(--home-muted); font-size: 14px; line-height: 1.75; }
.feature-meta { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--home-gold); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Plans */
.plan-grid-home { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid transparent; border-radius: 18px; background: linear-gradient(165deg, rgba(0, 48, 105, .92), rgba(0, 22, 64, .96)); transition: transform .25s ease, border-color .25s ease; }
.plan-tile { --plan-edge-rgb: 32, 227, 210; }
.plan-tile.plan-tone-platinum { --plan-edge-rgb: 32, 227, 210; }
.plan-tile.plan-tone-elite { --plan-edge-rgb: 244, 201, 45; }
.plan-tile.plan-tone-supreme { --plan-edge-rgb: 236, 72, 153; }
.plan-tile:hover { transform: translateY(-6px); border-color: transparent; }
.plan-tile-featured { border-color: transparent; box-shadow: 0 0 0 1px rgba(56, 242, 224, .3), 0 26px 60px rgba(0, 0, 0, .4); }
@property --dash-plan-edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.plan-grid-home > .plan-tile::before,
.plan-grid-home > .plan-tile .home-btn::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  content: "";
  pointer-events: none;
  animation: dash-plan-edge-orbit 3.6s linear infinite;
}
.plan-grid-home > .plan-tile::before {
  background:
    conic-gradient(from var(--dash-plan-edge-angle, 0deg), transparent 0deg 302deg, rgba(var(--plan-edge-rgb),.22) 310deg, rgb(var(--plan-edge-rgb)) 326deg, rgba(var(--plan-edge-rgb),.62) 342deg, transparent 360deg),
    linear-gradient(112deg, rgba(85,200,197,.62), rgba(32,227,210,.5), rgba(142,154,203,.5), rgba(181,107,196,.58));
  filter: drop-shadow(0 0 3px rgba(var(--plan-edge-rgb),.62)) drop-shadow(0 0 7px rgba(var(--plan-edge-rgb),.32));
}
.plan-grid-home > .plan-tile .home-btn::before {
  background:
    conic-gradient(from var(--dash-plan-edge-angle, 0deg), transparent 0deg 288deg, rgba(85,200,197,.28) 300deg, #55C8C5 312deg, #20E3D2 324deg, #00FFD5 334deg, #8E9ACB 344deg, #B56BC4 353deg, transparent 360deg),
    linear-gradient(112deg, rgba(85,200,197,.62), rgba(32,227,210,.5), rgba(142,154,203,.5), rgba(181,107,196,.58));
  filter: drop-shadow(0 0 2px rgba(85,200,197,.48)) drop-shadow(0 0 5px rgba(181,107,196,.28));
}
.plan-grid-home > .plan-tile .home-btn::before { padding: 1.5px; }
.plan-grid-home > .plan-tile .home-btn {
  position: relative;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.plan-grid-home > .plan-tile .home-btn:hover { filter: brightness(1.06); }
.plan-grid-home > .plan-tile .home-btn:active { filter: brightness(.96); transform: translateY(1px) scale(.985); }
.plan-grid-home > .plan-tile .home-btn:focus-visible { outline-color: #38F2E0; }
@keyframes dash-plan-edge-orbit {
  to { --dash-plan-edge-angle: 360deg; }
}
.plan-tag { position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, #38F2E0, #14CFA8 55%, #16C96B); color: #052b2c; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 0 14px rgba(20, 207, 168, .3); }
.plan-tier { color: var(--home-sky-soft); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.plan-name { margin-top: 10px; font-size: 27px; }
.plan-range { margin-top: 16px; padding: 16px 0; border-block: 1px solid rgba(116, 216, 255, .18); }
.plan-range span { display: block; color: var(--home-muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.plan-range strong { display: block; margin-top: 8px; font-size: clamp(17px, 2vw, 22px); font-weight: 800; }
.plan-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.plan-stat span { display: block; color: var(--home-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plan-stat strong { display: block; margin-top: 7px; color: var(--home-gold); font-size: 25px; font-weight: 800; }
.plan-stat small { color: var(--home-muted); font-size: 12px; font-weight: 600; }
.plan-list { display: grid; gap: 9px; margin-top: 20px; }
.plan-list li { position: relative; padding-left: 22px; color: var(--home-muted); font-size: 12.5px; line-height: 1.6; }
.plan-list li::before { position: absolute; top: 3px; left: 0; color: #22E58A; content: "\2713"; font-size: 12px; }
.plan-actions { display: grid; gap: 10px; }
.plan-tile .plan-actions { margin-top: 26px; }
.plan-tile .home-btn { margin-top: 0; }
.plan-note { margin-top: 28px; color: var(--home-muted); font-size: 12.5px; line-height: 1.8; text-align: center; }
.plan-note strong { color: var(--home-gold-soft); }

/* About / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split-points { display: grid; gap: 14px; margin-top: 26px; }
.split-point { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid rgba(116, 216, 255, .16); border-radius: 13px; background: rgba(0, 32, 96, .6); }
.split-point-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: rgba(1, 121, 211, .2); color: var(--home-sky-soft); }
.split-point strong { display: block; font-size: 15px; }
.split-point p { margin-top: 4px; color: var(--home-muted); font-size: 13px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat-box { padding: 20px; border: 1px solid rgba(244, 201, 45, .3); border-radius: 14px; background: linear-gradient(160deg, rgba(0, 48, 105, .85), rgba(0, 26, 72, .92)); text-align: center; }
.stat-box strong { display: block; color: var(--home-gold); font-size: 28px; font-weight: 800; }
.stat-box span { display: block; margin-top: 6px; color: var(--home-muted); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.security-card { padding: 26px 24px; border: 1px solid rgba(116, 216, 255, .18); border-radius: 16px; background: rgba(0, 32, 96, .62); }
.security-card h3 { margin-top: 16px; font-size: 17px; }
.security-card p { margin-top: 10px; color: var(--home-muted); font-size: 13.5px; line-height: 1.75; }
.security-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(145deg, rgba(244, 201, 45, .26), rgba(1, 121, 211, .18)); color: var(--home-gold-soft); font-size: 21px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 26px 24px; border: 1px solid rgba(116, 216, 255, .16); border-radius: 16px; background: rgba(0, 32, 96, .5); }
.step-num { color: var(--home-gold); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.step h3 { margin-top: 12px; font-size: 17px; }
.step p { margin-top: 10px; color: var(--home-muted); font-size: 13.5px; line-height: 1.75; }

/* FAQ */
.faq-list-home { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid rgba(116, 216, 255, .18); border-radius: 14px; background: rgba(0, 32, 96, .55); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; color: #eaf4ff; font-size: 15.5px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: 0 0 auto; width: 11px; height: 11px; border-right: 2px solid var(--home-gold); border-bottom: 2px solid var(--home-gold); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-item p { padding: 0 22px 20px; color: var(--home-muted); font-size: 14px; line-height: 1.8; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 58px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(116, 216, 255, .16); border-radius: 13px; background: rgba(0, 32, 96, .6); }
.contact-row-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px; background: rgba(1, 121, 211, .2); color: var(--home-sky-soft); }
.contact-row strong { display: block; font-size: 14.5px; }
.contact-row span { display: block; color: var(--home-muted); font-size: 13px; }
.contact-card { padding: 30px 28px; border: 1px solid rgba(244, 201, 45, .32); border-radius: 18px; background: linear-gradient(165deg, rgba(0, 48, 105, .92), rgba(0, 22, 64, .96)); }
.contact-card h3 { font-size: 21px; }
.contact-card p { margin-top: 11px; color: var(--home-muted); font-size: 14px; }
.contact-actions { display: grid; gap: 12px; margin-top: 24px; }

/* CTA */
.cta-band { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 86px) 0; background: linear-gradient(120deg, #00306f, #00509f 52%, #002a6c); border-top: 1px solid rgba(244, 201, 45, .3); }
.cta-band::before { position: absolute; top: -50%; right: -8%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 201, 45, .22), transparent 68%); content: ""; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-title { font-size: clamp(24px, 3.2vw, 38px); }
.cta-lead { margin-top: 13px; color: #dceafb; font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer */
.home-footer { padding: 56px 0 30px; background: #000f2e; border-top: 1px solid rgba(244, 201, 45, .2); }
.home-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.home-footer h4 { margin: 0 0 16px; color: var(--home-gold); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.home-footer ul { display: grid; gap: 10px; }
.home-footer li a { color: var(--home-muted); font-size: 14px; transition: color .2s ease; }
.home-footer li a:hover { color: var(--home-gold); }
.home-footer-brand { display: inline-flex; align-items: center; gap: 11px; }
.home-footer-about { margin-top: 16px; max-width: 320px; color: var(--home-muted); font-size: 13.5px; line-height: 1.8; }
.home-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(116, 216, 255, .12); color: #93aecd; font-size: 12.5px; }
.home-footer-risk { max-width: 720px; line-height: 1.75; }

@media (prefers-reduced-motion: reduce) {
  .hero-coin, .hero-bar { animation: none; }
  .hero-coin-btc, .hero-bar { -webkit-box-reflect: none; }
  .home-btn:hover, .feature-card:hover, .plan-tile:hover, .hero-feature:hover { transform: none; }
  .plan-grid-home > .plan-tile::before,
  .plan-grid-home > .plan-tile .home-btn::before { animation: none; }
}

/* Responsive: tablet then mobile */
@media (max-width: 1080px) {
  .home-nav { gap: 14px; }
  .home-nav a { font-size: 13px; }
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .plan-grid-home, .security-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .home-header-inner { flex-wrap: wrap; min-height: 70px; }
  .home-burger { display: block; margin-left: auto; }
  .home-nav { order: 4; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 0 18px; border-top: 1px solid rgba(116, 216, 255, .16); }
  .home-nav.is-open { display: flex; }
  .home-nav a { padding: 12px 10px; font-size: 15px; border-radius: 9px; }
  .home-nav a:hover { background: rgba(116, 216, 255, .1); }
  .home-nav a::after { display: none; }
  .home-mobile { display: grid; gap: 10px; order: 5; width: 100%; max-width: 100%; padding-bottom: 18px; }
  .home-mobile .home-btn { width: 100%; max-width: 100%; }
  .home-header-actions { margin-left: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { min-height: 340px; order: -1; }
  .hero-title { font-size: clamp(32px, 8.4vw, 54px); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .home-wrap { width: calc(100% - 32px); max-width: 100%; }
  .home-brand-sub { display: none; }
  .home-header-inner { gap: 12px; }
  .home-header-actions { gap: 8px; min-width: 0; }
  /* Login/Register live in .home-mobile below 900px, so keep only the language picker */
  .home-header-actions .home-btn { display: none; }
  .language-button { padding: 0 11px; }
  .home-btn { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
  .home-btn-lg { min-height: 54px; width: 100%; max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .home-btn { width: 100%; max-width: 100%; }
  .hero-features, .feature-grid, .plan-grid-home, .security-grid, .steps, .stat-row, .home-footer-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 270px; }
  .hero-orbit-a { width: 240px; height: 240px; }
  .hero-orbit-b { width: 186px; height: 186px; }
  .hero-coin-btc { width: min(210px, 58%); left: 30%; }
  .hero-coin-eth { width: min(108px, 30%); }
  .hero-coin-btc2, .hero-coin-xmr { display: none; }
  .hero-coin-sol { width: min(78px, 20%); right: 1%; }
  .hero-bar { width: min(180px, 46%); right: 0; }
  .plan-stats { grid-template-columns: 1fr 1fr; }
  .home-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .home-brand-text { font-size: 18px; }
  .home-brand-mark { width: 38px; height: 38px; font-size: 19px; }
  /* Same specificity as the 56px header rule, so the logo shrinks back on
     narrow screens instead of crowding the navigation. */
  .home-brand .home-brand-mark { width: 42px; height: 42px; border-radius: 11px; }
  .language-button .language-current { display: none; }
}





/* Reference composition: crisp scene with independent, accessible HTML. */
.home-page [hidden] { display: none !important; }
.home-page { --home-gold: #f7cf64; --home-gold-soft: #fff0ae; --home-muted: #a7bbc4; --home-sky-soft: #77edfa; }
.home-page section, .home-page #about { scroll-margin-top: 94px; }
.home-wrap { width: min(1560px, calc(100% - 64px)); }
.home-header { background: rgba(2, 12, 20, .97); border-bottom: 1px solid #286472; }
.home-header-inner { min-height: 78px; gap: 24px; justify-content: space-between; }
.home-brand { gap: 8px; }
.home-brand .home-brand-mark { width: 70px; height: 70px; background: transparent; border-radius: 50%; box-shadow: none; }
.home-brand-text { font-size: clamp(25px, 2.35vw, 36px); letter-spacing: -.04em; line-height: 1.1; }
.home-brand-sub { font-size: 8px; color: #d6e4eb; letter-spacing: .2em; }
.home-nav { margin: 0; gap: clamp(12px, 1.6vw, 26px); }
.home-nav a { font-size: clamp(11px, .92vw, 14px); white-space: nowrap; }
.home-header-actions { gap: 10px; flex-shrink: 0; }
.home-header-actions .home-btn { min-height: 40px; padding: 0 25px; font-size: 12px; }
.language-button { min-height: 40px; padding: 0 12px; font-size: 12px; border-radius: 6px; background: #030e17; }
.language-current::before { content: none; }
.language-button::before { color: #74f4f0; }
.language-search { width: 100%; padding: 10px; border: 1px solid #286472; border-radius: 6px; color: #fff; background: #071924; }
.home-page .home-btn { border-radius: 6px; }
.home-hero-vault { padding: 0; min-height: clamp(470px, 40vw, 660px); background: #020b12; }
.hero-scene { position: absolute; inset: 0; }
.home-page .hero-cinematic-img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; }
.hero-scene::before { display: none; }
.hero-scene::after { background: linear-gradient(90deg, #020b1280, transparent 38%); }
.hero-inner-vault { display: block; padding-block: clamp(30px, 3vw, 48px); }
.hero-copy { width: 31%; max-width: 475px; }
.home-page .hero-eyebrow { margin: 0 0 18px; padding: 5px 12px; font-size: clamp(9px, .8vw, 12px); letter-spacing: .11em; background: #061319aa; border-color: #ccb25491; box-shadow: 0 0 12px #d3b03b18; }
.hero-title-vault { font-size: clamp(44px, 4.2vw, 71px); line-height: .98; letter-spacing: -.04em; text-shadow: 0 2px 14px #0007; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-title-vault .accent { font-size: 1.36em; line-height: 1.02; background-image: linear-gradient(175deg, #fff6c5, #ffdb69 45%, #d8a736); }
.home-page .hero-lead { margin-top: 12px; max-width: 390px; font-size: clamp(12px, 1.08vw, 17px); line-height: 1.55; color: #e3eaf0; }
.home-page .hero-features-vault { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.hero-features-vault .hero-feature { padding: 0; gap: 6px; font-size: clamp(8px, .65vw, 10px); line-height: 1.45; background: transparent; border: 0; border-radius: 0; backdrop-filter: none; }
.hero-feature-icon { width: 30px; height: 30px; border: 1px solid #c5a844; border-radius: 50%; color: #f7d467; background: #031720; }
.hero-feature:nth-child(3) .hero-feature-icon { color: #59eacc; border-color: #39d5ad; }
.hero-feature-icon svg { width: 20px; height: 20px; }
.home-page .hero-actions { margin-top: 22px; gap: 12px; flex-wrap: nowrap; }
.hero-actions .home-btn { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; font-size: 13px; }
.home-btn-play { width: 21px; height: 21px; color: #79f3f4; border: 1px solid currentColor; background: transparent; font-size: 9px; }
.hero-video-btn { font-family: inherit; }
.home-page .hero-video-note { margin-top: 10px; padding: 9px 12px; background: #03111dea; border: 1px solid #27525b; font-size: 12px; }
.market-strip { padding: 10px 0 7px; border-block: 1px solid #27525b; background: #030e15; }
.market-strip .home-wrap { width: min(1600px, calc(100% - 28px)); }
.home-page .market-strip-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.market-card { display: flex; gap: 9px; align-items: center; min-width: 0; padding: 10px; border: 1px solid #286773; border-radius: 6px; background: linear-gradient(150deg, #06232b99, #020b10); box-shadow: inset 0 0 14px #0fbfc00b, 0 0 7px #0fbfc00a; }
.market-coin { flex: 0 0 38px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 1px 2px #fff7, 0 0 13px #22ced81a; }
.market-coin svg { width: 24px; height: 24px; }
.market-coin-btc { background: linear-gradient(135deg, #ffcb43, #e88806); color: white; }
.market-coin-eth { background: linear-gradient(145deg, #235172, #02131d); color: #dbf7ff; }
.market-coin-usdt { background: linear-gradient(145deg, #25c49a, #06805e); color: white; }
.market-coin-bnb { background: #111510; color: #f4c334; border: 1px solid #715b21; }
.market-coin-ltc { background: linear-gradient(145deg, #b3cedf, #304e6f); color: white; }
.market-coin-gold { color: #8c610a; background: transparent; box-shadow: none; }
.market-coin-gold svg { width: 34px; height: 34px; }
.market-copy { min-width: 0; }
.market-name, .market-price, .market-change { display: block; white-space: nowrap; }
.market-name { font-size: 10px; color: #e3eef4; }
.market-price { font-size: clamp(10px, .98vw, 15px); line-height: 1.5; color: #fff; font-variant-numeric: tabular-nums; }
.market-change { font-size: 9px; color: #94b4c1; }
.market-change.is-positive, .market-chart.is-positive { color: #42e99d; }
.market-change.is-negative, .market-chart.is-negative { color: #f18f89; }
.market-chart { margin-left: auto; width: 30%; min-width: 30px; max-width: 80px; height: 32px; color: #72cdd3; filter: drop-shadow(0 0 3px currentColor); }
.home-page .market-source { margin-top: 6px; color: #8ea9b6; font-size: 9px; text-align: right; }
.market-source a { text-decoration: underline; text-underline-offset: 2px; }
.home-section-future { padding: 22px 0 28px; background: linear-gradient(#020c12, #04121a); border-bottom: 1px solid #14333f; }
.future-grid { display: grid; grid-template-columns: 1.05fr 2fr 1.5fr; gap: 20px; align-items: stretch; }
.home-page .future-copy .home-kicker { margin-bottom: 6px; letter-spacing: .12em; font-size: 10px; }
.future-copy .home-title { font-size: clamp(20px, 1.9vw, 29px); text-transform: uppercase; line-height: 1.05; }
.future-copy .accent { color: #f4d27d; }
.home-page .future-copy .home-lead { margin-top: 10px; font-size: 11px; line-height: 1.5; }
.future-btn { width: auto; margin-top: 14px; min-height: 38px; padding: 0 18px; font-size: 11px; }
.future-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.future-cards .feature-card { display: flex; align-items: center; flex-direction: column; padding: 18px 9px 14px; border: 1px solid #286773; border-radius: 7px; background: radial-gradient(ellipse at top, #063542aa, #031019 75%); text-align: center; }
.future-cards .feature-icon { width: 40px; height: 40px; margin-bottom: 13px; border-radius: 50%; color: #68f0f3; background: #07303a77; filter: drop-shadow(0 0 8px #29d9ef55); }
.feature-icon svg { width: 32px; height: 32px; }
.future-cards .feature-card:nth-child(n+3) .feature-icon { color: #f5d271; filter: drop-shadow(0 0 6px #e1b44b44); }
.future-cards .feature-card h3 { font-size: 11px; line-height: 1.35; }
.home-page .future-cards .feature-card p { margin-top: 9px; font-size: 10px; line-height: 1.5; }
.future-panel { position: relative; isolation: isolate; overflow: hidden; min-height: 180px; padding: 19px 16px; border: 1px solid #286773; border-radius: 7px; background: #04131c; }
.future-globe { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg, #021018 0%, #021018bb 27%, transparent 60%), url('../images/bitvault-home-hero.png'); background-size: auto, 320% auto; background-position: center, 78% 25%; }
.future-panel-kicker { color: #80eef2; font-size: 15px; line-height: 1.1; text-transform: uppercase; }
.home-page .future-panel-text { margin-top: 10px; max-width: 140px; font-size: 11px; line-height: 1.6; color: #dfedf2; }
.home-section:not(.home-section-future) { padding-block: 48px; }
.home-section-alt { background: linear-gradient(135deg, #051520, #061b27); border-color: #17343e; }
.home-page .home-head { margin-bottom: 26px; }
.home-head .home-title { font-size: 32px; }
.home-page .home-head .home-lead { margin-top: 12px; }
.plan-tile, .security-card, .step, .contact-card, .contact-row, .faq-item { background: linear-gradient(145deg, #0b2330, #04121c); }
.home-page .plan-description { margin: 20px 0; font-size: 14px; color: #b7cbd6; }
.home-footer { background: #020a10; }
.cta-band { padding-block: 40px; background: linear-gradient(110deg, #071e2a, #0b2d3b); }
@media (min-width: 1051px) and (max-width: 1200px) {
  .home-wrap { width: calc(100% - 40px); }
  .home-header-inner { gap: 14px; }
  .home-brand .home-brand-mark { width: 56px; height: 56px; }
  .home-brand-text { font-size: 26px; }
  .home-nav { gap: 12px; }
  .home-header-actions { gap: 7px; }
  .home-header-actions .home-btn { padding: 0 17px; }
  .language-button { padding: 0 8px; }
  .hero-feature-icon { width: 24px; height: 24px; }
  .hero-feature-icon svg { width: 17px; height: 17px; }
  .hero-features-vault .hero-feature { gap: 4px; }
}
@media (max-width: 1050px) {
  .home-header-inner { flex-wrap: wrap; gap: 12px; }
  .home-burger { display: block; margin-left: auto; }
  .home-nav { order: 4; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding-block: 12px; }
  .home-nav.is-open { display: flex; }
  .home-nav a { padding: 10px; font-size: 14px; }
  .home-nav a::after { display: none; }
  .hero-copy { width: 38%; }
  .hero-scene::after { background: linear-gradient(90deg, #020b12e6, #020b1266 33%, transparent 50%); }
  .home-page .hero-cinematic-img { object-position: 57% center; }
  .hero-title-vault { font-size: clamp(36px, 4.4vw, 46px); }
  .hero-feature-icon { width: 25px; height: 25px; }
  .hero-feature-icon svg { width: 18px; height: 18px; }
  .home-page .market-strip-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-name { font-size: 11px; }
  .market-price { font-size: 14px; }
  .future-grid { grid-template-columns: 1fr 2fr; }
  .future-panel { grid-column: 1 / -1; min-height: 170px; }
  .future-globe { background-size: auto, 150% auto; background-position: center, 80% 24%; }
}
@media (max-width: 640px) {
  .home-wrap { width: calc(100% - 32px); }
  .home-header-inner { gap: 6px 12px; padding-bottom: 10px; }
  .home-brand .home-brand-mark { width: 57px; height: 57px; }
  .home-brand-text { font-size: 27px; }
  .home-brand-sub { display: block; font-size: 7px; }
  .home-header-actions { width: 100%; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
  .home-header-actions .home-btn { display: inline-flex; min-height: 35px; padding: 0 12px; }
  .language-button { width: 100%; justify-content: center; min-height: 35px; }
  .language-button .language-current { display: inline; }
  .language-panel { left: 0; right: auto; }
  .home-page section, .home-page #about { scroll-margin-top: 128px; }
  .home-hero-vault { min-height: 0; padding-bottom: 67vw; }
  .hero-inner-vault { padding: 28px 0 20px; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-title-vault { font-size: clamp(42px, 11vw, 65px); }
  .hero-title-vault .accent { font-size: 1.22em; }
  .home-page .hero-eyebrow { margin-bottom: 16px; font-size: 10px; }
  .home-page .hero-lead { max-width: 420px; font-size: 14px; }
  .home-page .hero-features-vault { margin-top: 20px; gap: 10px; }
  .hero-features-vault .hero-feature { font-size: 8px; gap: 5px; }
  .hero-feature-icon { width: 26px; height: 26px; }
  .home-page .hero-actions { flex-direction: row; margin-top: 22px; }
  .hero-actions .home-btn { width: auto; min-height: 46px; font-size: 13px; }
  .hero-scene { top: auto; height: 73vw; bottom: 0; }
  .home-page .hero-cinematic-img { max-width: none; width: 145%; object-fit: cover; object-position: center; margin-left: -45%; }
  .hero-scene::after { background: linear-gradient(#020b12, transparent 22%); }
  .home-page .market-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-card { padding: 10px 8px; gap: 8px; }
  .market-coin { flex-basis: 30px; width: 30px; height: 30px; }
  .market-coin svg { width: 21px; height: 21px; }
  .market-name { font-size: 10px; }
  .market-price { font-size: 12px; }
  .market-chart { width: 24%; min-width: 20px; }
  .home-page .market-source { text-align: left; line-height: 1.6; }
  .home-section-future { padding-block: 28px; }
  .future-grid { grid-template-columns: 1fr; gap: 22px; }
  .future-copy .home-title { font-size: 29px; }
  .home-page .future-copy .home-lead { font-size: 13px; max-width: 370px; }
  .future-btn { min-height: 42px; font-size: 12px; }
  .future-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .future-cards .feature-card { padding: 20px 16px; }
  .future-cards .feature-card h3 { font-size: 13px; }
  .home-page .future-cards .feature-card p { font-size: 12px; }
  .future-panel { grid-column: auto; min-height: 185px; }
  .future-globe { background-size: auto, 280% auto; background-position: center, 80% 28%; }
  .home-head .home-title { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
}
