/* ============================================================================
   BERESHIT CAPITAL LTD — Landing Stylesheet (landing.css)
   Canonical shared stylesheet for all landing & document pages:
   index.html, privacy.html, terms.html, security.html, about.html
   Extracted from the index.html inline <style> block so styles are authored once.
   ============================================================================ */


  /* --- DESIGN TOKENS ----------------------------------------------- */
  :root {
    --pitch:         #000000;
    --font-sans:     'DM Sans', sans-serif;
    --font-mono:     'DM Mono', monospace;
    --ease-luxury:   cubic-bezier(0.22, 1, 0.36, 1);
    --ease-expo:     cubic-bezier(0.19, 1, 0.22, 1);
    --radius:        3px;

    --success:       #14532D;
    --danger:        #7F1D1D;
    --warning:       #78350F;
    --gold:          #B8960C;
    --gold-light:    #C5A02E;
    --accent-blue:   #2563eb;
    --accent-purple: #7c3aed;
    --price-up:      #16a34a;
    --price-down:    #dc2626;

    /* LIGHT MODE (default) */
    --bg:            #FAFAFA;
    --bg-elevated:   #FFFFFF;
    --bg-muted:      #F5F5F5;
    --text:          #0A0A0A;
    --text-muted:    #555555;
    --text-dim:      #888888;
    --text-faint:    #B0B0B0;
    --border:        rgba(0,0,0,0.08);
    --border-lg:     rgba(0,0,0,0.16);
    --overlay:       rgba(0,0,0,0.03);
    --overlay-lg:    rgba(0,0,0,0.06);
    --glass-bg:      rgba(255,255,255,0.7);
    --glass-border:  rgba(0,0,0,0.1);
    --glass-shadow:  0 8px 32px rgba(0,0,0,0.06);
    --dock-bg:       rgba(255,255,255,0.65);
    --dock-border:   rgba(0,0,0,0.08);
    --dock-shadow:   0 4px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    --dock-item-bg:  rgba(0,0,0,0.04);
    --hero-card-bg:  rgba(255,255,255,0.85);
    --hero-card-border: rgba(0,0,0,0.1);
    --glass-card-bg:    rgba(255,255,255,0.55);
    --glass-card-border: rgba(0,0,0,0.08);
    --glass-card-hover:  rgba(255,255,255,0.75);
    --vc-card-visa:  linear-gradient(135deg, #F5F5F5, #E8E8E8);
    --vc-card-mc:    linear-gradient(135deg, #EEE, #DDD);

    /* backward compat */
    --obsidian: var(--bg); --obsidian-2: var(--bg-elevated); --obsidian-3: var(--bg-muted);
    --pure: var(--text); --neutral-200: var(--text-muted); --neutral-400: var(--text-muted);
    --neutral-600: var(--text-dim); --neutral-700: var(--text-faint); --neutral-800: var(--text-dim);
    --border-hair: var(--border); --border-subtle: var(--border-lg); --border-strong: rgba(0,0,0,0.85);
  }

  [data-theme="dark"] {
    --bg:            #0A0A0A;
    --bg-elevated:   #111111;
    --bg-muted:      #1A1A1A;
    --text:          #FFFFFF;
    --text-muted:    #A3A3A3;
    --text-dim:      #737373;
    --text-faint:    #4A4A4A;
    --border:        rgba(255,255,255,0.06);
    --border-lg:     rgba(255,255,255,0.12);
    --overlay:       rgba(255,255,255,0.02);
    --overlay-lg:    rgba(255,255,255,0.06);
    --glass-bg:      rgba(20,20,20,0.75);
    --glass-border:  rgba(255,255,255,0.08);
    --glass-shadow:  0 8px 32px rgba(0,0,0,0.3);
    --dock-bg:       rgba(20,20,20,0.75);
    --dock-border:   rgba(255,255,255,0.08);
    --dock-shadow:   0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
    --dock-item-bg:  rgba(255,255,255,0.06);
    --hero-card-bg:  rgba(15,15,15,0.85);
    --hero-card-border: rgba(255,255,255,0.08);
    --vc-card-visa:  linear-gradient(135deg, #0a0a0a, #1a1a1a);
    --vc-card-mc:    linear-gradient(135deg, #111, #050505);
    --glass-card-bg:    rgba(20,20,20,0.55);
    --glass-card-border: rgba(255,255,255,0.06);
    --glass-card-hover:  rgba(20,20,20,0.75);
  }

  [data-theme="dark"] .fx-change.up { color: #22c55e; }
  [data-theme="dark"] .fx-change.down { color: #f87171; }
  [data-theme="dark"] .price-up { color: #22c55e; }
  [data-theme="dark"] .price-down { color: #f87171; }
  [data-theme="dark"] .live-dot { background: #22c55e; }
  [data-theme="dark"] .security-status-live { color: #22c55e; }

  /* --- RESET & BASE ----------------------------------------------- */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }

  body {
    font-family: var(--font-sans);
    background: var(--obsidian);
    color: var(--pure);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Nav fallback for pre-theme flash */
  nav {
    background: rgba(255,255,255,0.7);
  }
  [data-theme="dark"] nav {
    background: rgba(10,10,10,0.75);
  }

  /* --- CUSTOM CURSOR ----------------------------------------------- */
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--pure);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-luxury), height 0.3s var(--ease-luxury), opacity 0.3s;
    mix-blend-mode: difference;
  }
  .cursor.expand {
    width: 40px; height: 40px;
    opacity: 0.5;
  }

  /* --- BOOT SCREEN -------------------------------------------------- */
  #boot {
    position: fixed;
    inset: 0;
    background: var(--obsidian);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  #boot-line {
    width: 0%;
    height: 1px;
    background: var(--neutral-600);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.9s var(--ease-luxury);
  }

  #boot-wordmark {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--neutral-400);
    opacity: 0;
    transition: opacity 0.6s, letter-spacing 0.9s var(--ease-luxury);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
  }

  #boot-wordmark.active {
    opacity: 1;
    letter-spacing: 0.65em;
  }

  #boot-tagline {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--neutral-600);
    text-transform: uppercase;
    opacity: 0;
    position: relative;
    z-index: 1;
    transition: opacity 0.8s var(--ease-luxury) 0.2s;
  }

  /* --- NOISE OVERLAY ----------------------------------------------- */
  .noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
  }

  /* --- NAV — Premium Glass Header ----------------------------- */
  nav {
    position: fixed;
    top: 12px; left: 50%; transform: translateX(-50%);
    z-index: 900;
    width: calc(100% - 64px); max-width: 1280px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

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

  .nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
  }

  .nav-logo-mark {
    width: 30px; height: 30px;
    background: var(--gold-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-logo-mark svg { width: 15px; height: 15px; }

  .nav-logo-text {
    font-size: 14px; font-weight: 500; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text);
  }

  .theme-btn { background: none; border: 1px solid var(--border); color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 10px; cursor: pointer; font-family: var(--font-sans); white-space: nowrap; transition: all 0.3s; }
  .theme-btn:hover { border-color: var(--border-strong); color: var(--text); }
  .nav-signin { font-size: 12px; color: var(--text); text-decoration: none; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 16px; border-radius: 10px; transition: all 0.3s; white-space: nowrap; }
  .nav-signin:hover { background: var(--overlay); }
  .nav-cta-btn { font-size: 12px; color: var(--bg); background: var(--text); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; padding: 7px 18px; border-radius: 10px; font-weight: 500; white-space: nowrap; transition: opacity 0.3s; }
  .nav-cta-btn:hover { opacity: 0.85; }

  /* --- HAMBURGER BUTTON (always visible) ----------------------- */
  .hamburger {
    display: flex;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--border-hair);
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.25s var(--ease-luxury);
  }
  .hamburger:hover {
    background: var(--overlay);
    border-color: var(--border-subtle);
  }
  .hamburger span,
  .hamburger span::before,
  .hamburger span::after {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--text);
    position: relative;
    transition: all 0.25s var(--ease-luxury);
  }
  .hamburger span::before,
  .hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .hamburger span::before { top: -6px; }
  .hamburger span::after  { top: 6px; }
  .hamburger.open span { background: transparent; }
  .hamburger.open span::before { top: 0; transform: rotate(45deg); }
  .hamburger.open span::after  { top: 0; transform: rotate(-45deg); }

  /* --- MOBILE MENU OVERLAY -------------------------------------- */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 850;
    opacity: 0;
    transition: opacity 0.3s var(--ease-luxury);
    pointer-events: none;
  }
  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  /* --- HAMBURGER NAV PANEL -------------------------------------- */
  .mobile-nav-panel {
    position: fixed;
    top: 0; right: 0;
    width: min(90vw, 320px);
    height: 100vh;
    background: var(--obsidian);
    border: 1px solid var(--border);
    z-index: 920;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-luxury);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
  }
  .mobile-nav-panel.open {
    transform: translateX(0);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  /* Panel header */
  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mobile-nav-brand .nav-logo-img { height: 36px; width: auto; max-width: 100%; object-fit: contain; }

  /* Panel close button */
  .mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border-hair);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.2s var(--ease-luxury);
    z-index: 1;
  }
  .mobile-nav-close:hover {
    background: var(--overlay);
    color: var(--text);
  }
  .mobile-nav-close svg { width: 14px; height: 14px; }

  /* Panel nav links */
  .mobile-nav-links {
    padding: 8px 0 0;
    flex-shrink: 0;
  }
  .mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
  }
  .mobile-nav-links a:hover { background: var(--overlay); }
  .mobile-nav-links a svg { width: 18px; height: 18px; stroke: var(--text-dim); flex-shrink: 0; }

  /* Panel controls — language + theme */
  .mobile-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mobile-nav-controls .lang-select { flex: 1; }
  .mobile-nav-theme {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-sans);
    white-space: nowrap;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .mobile-nav-theme:hover {
    border-color: var(--border-strong);
    color: var(--text);
  }
  .mobile-nav-theme svg { width: 13px; height: 13px; }

  /* Panel actions — sign in + get started */
  .mobile-nav-actions {
    padding: 16px 20px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-nav-actions .nav-signin {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 0;
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .mobile-nav-actions .nav-cta-btn {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--bg);
    background: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: 500;
    transition: opacity 0.3s;
  }
  .mobile-nav-actions .nav-cta-btn:hover { opacity: 0.85; }

  /* --- HERO -------------------------------------------------------- */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 48px 80px;
    position: relative;
    overflow: hidden;
  }

  /* Architectural grid lines background */
  .hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(var(--ov-grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--ov-grid) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
  }

  /* Hero accent orb */
  .hero-orb {
    position: absolute;
    top: 15%;
    right: 8%;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ov-subtle) 0%, var(--ov-hair) 50%, transparent 70%);
    border: 1px solid var(--ov-subtle);
    animation: orb-pulse 8s ease-in-out infinite;
  }

  .hero-orb::before {
    content: '';
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    border: 1px solid var(--ov-subtle);
  }

  .hero-orb::after {
    content: '';
    position: absolute;
    inset: 80px;
    border-radius: 50%;
    border: 1px solid var(--ov-hair);
  }

  @keyframes orb-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.04); opacity: 1; }
  }

  /* Live portfolio graph — hero proof */
  .hero-proof-float {
    position: absolute;
    top: 20%; right: 7%;
    width: 320px;
    background: transparent;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px 28px;
    animation: float-graph 8s ease-in-out infinite;
    z-index: 10;
  }
  @keyframes float-graph {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
  }
  .hero-graph { margin-bottom: 16px; }
  .hero-graph svg { width: 100%; height: auto; }
  .hero-metrics { display: flex; gap: 20px; }
  .hero-metrics div { display: flex; flex-direction: column; }
  .hero-metrics div > span:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint); margin-bottom: 2px; }
  .hero-metrics .mono { font-size: 13px; font-weight: 400; }

  .hero-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
  }

  .hero-ticker-dot {
    width: 6px; height: 6px;
    background: var(--neutral-600);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .hero-ticker-text {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.14em;
    color: var(--neutral-600);
    text-transform: uppercase;
  }

  .hero-ticker-sep {
    color: var(--neutral-800);
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(56px, 7.5vw, 108px);
    font-weight: 200;
    letter-spacing: -0.045em;
    line-height: 1.0;
    color: var(--pure);
    max-width: 900px;
    margin-bottom: 40px;
    text-wrap: balance;
  }

  .hero h1 em {
    font-style: normal;
    font-weight: 500;
    color: var(--gold-light);
  }

  .hero-sub-row {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 900px;
  }

  .hero-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--neutral-400);
    max-width: 340px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .btn-xl {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--obsidian);
    background: var(--pure);
    text-decoration: none;
    padding: 16px 36px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transition: background 0.25s var(--ease-luxury), transform 0.15s;
    min-width: 220px;
  }

  .btn-xl:hover { background: var(--neutral-100); }
  .btn-xl:active { transform: scale(0.98); }

  .btn-xl-arrow {
    width: 14px;
    transition: transform 0.35s var(--ease-luxury);
  }

  .btn-xl:hover .btn-xl-arrow { transform: translateX(4px); }

  .hero-legal {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--neutral-800);
    text-transform: uppercase;
  }

  .hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--neutral-600), transparent);
    animation: scroll-pulse 2.5s ease-in-out infinite;
  }

  @keyframes scroll-pulse {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
  }

  .hero-scroll-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--neutral-800);
    text-transform: uppercase;
    writing-mode: vertical-rl;
  }

  /* --- STATS BAND --------------------------------------------------- */
  .stats-band {
    border-top: 1px solid var(--border-hair);
    border-bottom: 1px solid var(--border-hair);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item {
    padding: 36px 48px;
    border-right: 1px solid var(--border-hair);
    position: relative;
    overflow: hidden;
  }

  .stat-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 1px;
    background: var(--neutral-600);
    transition: width 0.6s var(--ease-luxury);
  }

  .stat-item:hover::before { width: 100%; }
  .stat-item:last-child { border-right: none; }

  .stat-num {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 200;
    letter-spacing: -0.02em;
    color: var(--pure);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
  }

  .stat-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    color: var(--neutral-600);
    text-transform: uppercase;
  }

  /* --- SECTION SHARED ----------------------------------------------- */
  section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
  }

  .section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 64px;
  }

  .section-label-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--neutral-800);
  }

  .section-label-line {
    width: 32px;
    height: 1px;
    background: var(--border-hair);
  }

  .section-label-text {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--neutral-600);
    text-transform: uppercase;
  }

  .section-h2 {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 200;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: var(--pure);
    margin-bottom: 20px;
    text-wrap: balance;
  }

  .section-h2 em {
    font-style: normal;
    font-weight: 500;
    color: var(--gold-light);
  }


  /* === UNIFIED LANDING SECTION PADDING ================================ */
  .lp-section {
    padding: 120px 48px;
    border-bottom: 1px solid var(--border-hair);
    max-width: 1280px;
    margin: 0 auto;
  }

  .lp-section.no-border { border-bottom: none; }

  .tv-ticker-wrap {
    padding: 0 48px;
    max-width: 1280px;
    margin: 0 auto;
  }

  /* --- FEATURES SECTION --------------------------------------------- */
  /* .features-wrap — padding now via .lp-section */

  .features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: end;
  }

  .features-body-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--neutral-600);
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-hair);
    border: 1px solid var(--border-hair);
  }

  .feature-card {
    background: var(--obsidian);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s var(--ease-luxury);
  }

  .feature-card:hover { background: var(--obsidian-2); }

  .feature-card-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--neutral-800);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 48px;
  }

  .feature-icon {
    width: 40px; height: 40px;
    border: 1px solid var(--border-hair);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: border-color 0.3s;
  }

  .feature-card:hover .feature-icon { border-color: var(--border-subtle); }

  .feature-icon svg {
    width: 18px; height: 18px;
    stroke: var(--neutral-600);
    transition: stroke 0.3s;
  }

  .feature-card:hover .feature-icon svg { stroke: var(--neutral-200); }

  .feature-title {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--pure);
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .feature-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--neutral-600);
  }

  

  /* --- TRUST TIERS -------------------------------------------------- */
  /* .tiers-wrap — padding now via .lp-section */

  .tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-hair);
    border: 1px solid var(--border-hair);
    margin-top: 64px;
  }

  .tier-card {
    background: var(--obsidian);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
  }

  .tier-card.is-platinum {
    background: var(--obsidian-2);
    border-top: 1px solid var(--gold);
  }

  .tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neutral-600);
    border: 1px solid var(--border-hair);
    padding: 4px 10px;
    margin-bottom: 28px;
  }

  .tier-card.is-platinum .tier-badge {
    color: var(--gold-light);
    border-color: rgba(212, 175, 55, 0.25);
  }

  .tier-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--neutral-800);
  }

  .is-platinum .tier-dot { background: var(--gold-light); }

  .tier-limit {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 200;
    color: var(--pure);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1;
  }

  .tier-limit-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--neutral-700);
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .tier-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 300;
    color: var(--neutral-600);
    line-height: 1.4;
  }

  .tier-check {
    width: 14px; height: 14px;
    flex-shrink: 0;
  }

  .tier-check svg {
    width: 14px; height: 14px;
    stroke: var(--neutral-800);
  }

  .is-platinum .tier-check svg { stroke: var(--gold-light); }

  /* --- SECURITY SECTION --------------------------------------------- */
  /* .security-wrap — padding now via .lp-section */

  .security-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 64px;
    align-items: start;
  }

  .security-visual {
    position: relative;
    height: 480px;
    border: 1px solid var(--border-hair);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .security-rings {
    position: relative;
    width: 220px; height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .security-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--ov-subtle);
    animation: ring-rotate linear infinite;
  }

  .security-ring:nth-child(1) { width: 220px; height: 220px; animation-duration: 30s; }
  .security-ring:nth-child(2) { width: 160px; height: 160px; animation-duration: 20s; animation-direction: reverse; }
  .security-ring:nth-child(3) { width: 100px; height: 100px; animation-duration: 12s; }

  .security-ring-dot {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--neutral-600);
    border-radius: 50%;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
  }

  @keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .security-core {
    width: 56px; height: 56px;
    border: 1px solid var(--border-subtle);
    background: var(--obsidian-2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
  }

  .security-core svg {
    width: 22px; height: 22px;
    stroke: var(--neutral-400);
  }

  .security-scan-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--ov-scan-line) 50%, transparent 100%);
    animation: scan 4s linear infinite;
  }

  @keyframes scan {
    from { top: 0%; }
    to { top: 100%; }
  }

  .security-status-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 20px;
    border-top: 1px solid var(--border-hair);
    background: var(--obsidian-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .security-status-text {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 300;
    color: var(--neutral-600);
    letter-spacing: 0.1em;
  }

  .security-status-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .live-dot {
    width: 5px; height: 5px;
    background: #16a34a;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
  }

  .security-features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .security-feature-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border-hair);
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    align-items: start;
  }

  .security-feature-item:first-child { padding-top: 0; }

  .security-feature-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 300;
    color: var(--neutral-800);
    padding-top: 3px;
  }

  .security-feature-title {
    font-size: 14px;
    font-weight: 300;
    color: var(--pure);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }

  .security-feature-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--neutral-600);
  }

  /* --- LEDGER SECTION ----------------------------------------------- */
  /* .ledger-wrap — padding now via .lp-section */

  .ledger-preview {
    margin-top: 64px;
    border: 1px solid var(--border-hair);
    overflow: hidden;
  }

  .ledger-table-header {
    display: grid;
    grid-template-columns: 120px 1fr 120px 120px 120px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-hair);
    background: var(--obsidian-2);
  }

  .ledger-col-head {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--neutral-700);
    text-transform: uppercase;
  }

  .ledger-row {
    display: grid;
    grid-template-columns: 120px 1fr 120px 120px 120px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-hair);
    align-items: center;
    transition: background 0.2s;
  }

  .ledger-row:hover { background: var(--ov-hair); }
  .ledger-row:last-child { border-bottom: none; }

  .ledger-date {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 300;
    color: var(--neutral-700);
  }

  .ledger-desc { font-size: 13px; font-weight: 300; color: var(--neutral-400); }
  .ledger-type {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid var(--border-hair);
    color: var(--neutral-600);
    display: inline-block;
  }

  .ledger-amount {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 300;
    text-align: right;
  }

  .ledger-amount.investment { color: var(--success); }
  .ledger-amount.debit { color: var(--danger); border-left: 1px solid var(--danger); padding-left: 8px; }

  .ledger-status {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-700);
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
  }

  .status-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
  }

  .status-completed { background: #14532D; }
  .status-pending { background: #78350F; }
  .status-flagged { background: #7F1D1D; }

  /* --- VIRTUAL CARD SECTION ----------------------------------------- */
  .cards-wrap {
    padding: 120px 48px;
    border-bottom: 1px solid var(--border-hair);
    max-width: 1280px;
    margin: 0 auto;
  }

  .cards-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 64px;
    align-items: center;
  }

  .card-showcase {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vc-card {
    width: 340px;
    padding: 32px;
    border-radius: var(--radius);
    position: absolute;
  }

  .vc-card-visa {
    background: var(--vc-card-visa-bg);
    border: 1px solid var(--border-subtle);
    transform: rotate(-4deg) translateY(-20px);
    z-index: 1;
  }

  .vc-card-mc {
    background: var(--vc-card-mc-bg);
    border: 1px solid var(--ov-subtle);
    transform: rotate(3deg) translateY(20px);
    z-index: 2;
    transition: transform 0.5s var(--ease-luxury);
  }

  .card-showcase:hover .vc-card-mc {
    transform: rotate(-1deg) translateY(-10px);
    z-index: 3;
  }

  .card-showcase:hover .vc-card-visa {
    transform: rotate(4deg) translateY(30px);
    z-index: 1;
  }

  .vc-brand {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ov-card-dim);
    margin-bottom: 28px;
    display: block;
  }

  /* ─── CRYPTO GLOBE ───────────────────────────────────────── */
  .globe-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 64px; }
  .globe-visual { display: flex; align-items: center; justify-content: center; min-height: 420px; position: relative; }
  .globe-sphere { position: relative; width: 200px; height: 200px; }
  .globe-inner { position: absolute; inset: 20px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--bg-elevated), transparent 70%); border: 1px solid var(--border); box-shadow: 0 0 60px rgba(100,150,255,0.08), inset 0 0 40px rgba(100,150,255,0.04); animation: globe-spin 24s linear infinite; }
  @keyframes globe-spin { 100% { transform: rotate(360deg); } }
  .chain-orb { position: absolute; top: 50%; left: 50%; animation: orbit-float 8s ease-in-out infinite; animation-delay: calc(var(--angle) * 0.05s); display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .chain-orb svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2)); animation: orb-pulse 3s ease-in-out infinite; }
  @keyframes orbit-float { 0%,100% { transform: translate(-50%, -50%) rotate(calc(var(--angle) + 0deg)) translateX(var(--distance)) rotate(calc(var(--angle) * -1 + 0deg)); } 50% { transform: translate(-50%, -50%) rotate(calc(var(--angle) + 10deg)) translateX(calc(var(--distance) + 8px)) rotate(calc(var(--angle) * -1 - 10deg)); } }
  .chain-label { font-family: var(--font-mono); font-size: 10px; font-weight: 300; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
  .globe-content { display: flex; flex-direction: column; gap: 32px; }
  .globe-features { display: flex; flex-direction: column; gap: 20px; }
  .globe-feature-item { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
  .globe-feature-num { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); padding-top: 2px; flex-shrink: 0; }
  .globe-feature-item strong { font-size: 13px; font-weight: 400; color: var(--text); display: block; margin-bottom: 4px; }
  .globe-feature-item p { font-size: 12px; color: var(--text-dim); line-height: 1.6; margin: 0; }

  /* ─── MULTI-CHAIN ECOSYSTEM ───────────────────────────────── */
  /* .multi-chain-wrap — padding now via .lp-section */
  .chain-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 64px;
  }
  .chain-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 14px;
    transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
  }
  .chain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: rgba(255,255,255,0.18);
  }
  .chain-card-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #FFF;
    flex-shrink: 0;
    animation: chain-float 3s ease-in-out infinite;
  }
  @keyframes chain-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }
  .chain-card-info h4 {
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 2px;
  }
  .chain-card-info span {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--gold-light);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  .chain-card-info p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    margin: 0;
  }

  .vc-pan {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 200;
    letter-spacing: 0.22em;
    color: var(--ov-card-text);
    margin-bottom: 28px;
    display: block;
  }

  .vc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .vc-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ov-card-faint);
    display: block;
    margin-bottom: 3px;
  }

  .vc-value {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 300;
    color: var(--ov-card-dim);
  }

  .vc-network {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--ov-card-faint);
    text-transform: uppercase;
  }

  .cards-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .card-feature-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-hair);
  }

  .card-feature-item:last-child { border-bottom: none; padding-bottom: 0; }

  .card-feature-label {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.16em;
    color: var(--neutral-600);
    text-transform: uppercase;
  }

  .card-feature-value {
    font-size: 14px;
    font-weight: 300;
    color: var(--pure);
    line-height: 1.5;
  }

  /* --- FX SECTION --------------------------------------------------- */
  /* .fx-wrap — padding now via .lp-section */

  .fx-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-hair);
    border: 1px solid var(--border-hair);
    margin-top: 64px;
  }

  .fx-item {
    background: var(--obsidian);
    padding: 28px 24px;
    transition: background 0.3s;
  }

  .fx-item:hover { background: var(--obsidian-2); }

  .fx-pair {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--neutral-600);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
  }

  .fx-rate {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 200;
    color: var(--pure);
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 6px;
  }

  .fx-change {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
  }

  .fx-change.up { color: var(--success); }
  .fx-change.down { color: var(--danger); }

  /* --- TRADINGVIEW WIDGETS ----------------------------------------- */
  .tv-ticker-wrap {
    padding: 0 48px;
    max-width: 1280px;
    margin: 0 auto;
  }

  .tv-ticker-wrap .tradingview-widget-container {
    margin-bottom: -8px;
  }

  /* ─── LIVE PRICE MARQUEE ─────────────────────────────────── */
  .price-marquee-wrap {
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    background: var(--bg);
  }
  .price-marquee-wrap::before, .price-marquee-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
  }
  .price-marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
  .price-marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
  .price-marquee {
    overflow: hidden;
  }
  .price-marquee-track {
    display: flex; align-items: center; gap: 0;
    white-space: nowrap;
    animation: marquee-scroll 40s linear infinite;
    width: max-content;
  }
  @keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .price-marquee-track:hover { animation-play-state: paused; }
  .marquee-item {
    padding: 8px 18px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
  }
  .marquee-item strong {
    color: var(--text);
    font-weight: 400;
    margin-left: 4px;
  }
  .marquee-sep {
    color: var(--border);
    font-size: 12px;
    user-select: none;
  }

  /* .tv-performers-wrap — padding now via .lp-section */

  .tv-performers-wrap .tradingview-widget-container {
    margin-top: 48px;
  }

  /* ─── PLATFORM INTELLIGENCE ──────────────────────────────── */
  .platform-intel-wrap {
    position: relative;
  }
  .intel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
  }
  .intel-card {
    position: relative;
    padding: 40px 32px;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
  }
  .intel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
  }
  .intel-card-glow {
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow,rgba(184,150,12,0.15)) 0%, transparent 70%);
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
  }
  @keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
  }
  .intel-card-stat {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 200;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
  }
  .intel-card-stat small {
    font-size: 24px;
    font-weight: 300;
    color: var(--gold-light);
  }
  .intel-card-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    display: block;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
  }
  .intel-card h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }
  .intel-card p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-dim);
    position: relative;
    z-index: 1;
  }
  /* .tv-news-wrap — padding now via .lp-section */

  .tv-news-wrap .tradingview-widget-container {
    margin-top: 48px;
  }

  /* --- CTA SECTION -------------------------------------------------- */
  .cta-wrap {
    padding: 140px 48px;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
  }

  .cta-wrap::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, var(--ov-grid) 0%, transparent 70%);
    pointer-events: none;
  }

  .cta-eyebrow {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--neutral-700);
    text-transform: uppercase;
  }

  .cta-h2 {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--pure);
    max-width: 700px;
    text-wrap: balance;
  }

  .cta-h2 em {
    font-style: normal;
    font-weight: 500;
    color: var(--gold-light);
  }

  .cta-sub {
    font-size: 14px;
    font-weight: 300;
    color: var(--neutral-600);
    max-width: 400px;
    line-height: 1.7;
  }

  .cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }


  /* --- BACK TO TOP ------------------------------------------------- */
  .back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 800;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease-luxury), transform 0.3s var(--ease-luxury);
    text-decoration: none;
  }

  .back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .back-to-top:hover {
    background: var(--glass-card-hover);
    color: var(--text);
  }

  /* --- FOOTER ------------------------------------------------------- */
  footer {
    border-top: 1px solid var(--border-hair);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto 90px;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-logo-text {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--neutral-600);
  }

  .footer-copy {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 300;
    color: var(--neutral-800);
    letter-spacing: 0.08em;
  }

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

  .footer-links a {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-800);
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-links a:hover { color: var(--neutral-400); }

  /* --- SCROLL ANIMATIONS -------------------------------------------- */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-luxury), transform 0.9s var(--ease-luxury);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.05s; }
  .reveal-delay-2 { transition-delay: 0.12s; }
  .reveal-delay-3 { transition-delay: 0.18s; }
  .reveal-delay-4 { transition-delay: 0.24s; }
  .reveal-delay-5 { transition-delay: 0.30s; }
  .reveal-delay-6 { transition-delay: 0.36s; }

  /* --- RESPONSIVE --------------------------------------------------- */
  
  /* --- REDUCED MOTION — respect user preference ------------------- */
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      transition: none !important;
      opacity: 1;
      transform: none;
    }

    html { scroll-behavior: auto; }

    #boot { display: none !important; }

    .hero-orb { animation: none !important; }

    .hero-scroll-line { animation: none; opacity: 1; }

    .cursor { display: none; }

    .noise { display: none; }
  }

@media (max-width: 1024px) {
    .hero-proof-float { display: none; }
    .features-header { grid-template-columns: 1fr; gap: 24px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .tiers-grid { grid-template-columns: 1fr 1fr; }
    .security-layout { grid-template-columns: 1fr; }
    .security-visual { height: 300px; }
    .intel-grid { grid-template-columns: 1fr 1fr; }
    .chain-showcase { grid-template-columns: repeat(2, 1fr); }
    .fx-grid { grid-template-columns: 1fr 1fr; }
    .stats-band { grid-template-columns: 1fr 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-hair); }
   }

  @media (max-width: 820px) {
    nav { top: 8px; width: calc(100% - 40px); height: 50px; padding: 0 12px; }
  }

  @media (max-width: 768px) {
    .lang-select, select { font-size: 16px; }
    nav { top: 8px; width: calc(100% - 20px); height: 46px; padding: 0 12px; border-radius: 14px; }
    .hero { padding: 72px 14px 48px; min-height: auto; }
    .hero h1 { font-size: 32px; line-height: 1.0; }
    .hero-sub-row { flex-direction: column; gap: 16px; }
    .hero-desc { max-width: 100%; font-size: 12px; }
    .hero-actions { flex-direction: column; width: 100%; gap: 8px; }
    .hero-orb { width: 200px; height: 200px; top: 5%; right: -15%; opacity: 0.3; }
    .hero-proof-float { display: none; }
    .price-marquee-wrap { padding: 4px 0; }
    .marquee-item { padding: 3px 10px; font-size: 11px; }
    .stats-band { grid-template-columns: 1fr 1fr; gap: 1px; }
    .stat-item { padding: 18px 14px; }
    .stat-num { font-size: 24px; }
    .lp-section { padding: 80px 16px; }
    .section-h2, h2.section-h2 { font-size: 28px; margin-bottom: 20px; }
    .section-label { margin-bottom: 12px; }
    .features-grid { grid-template-columns: 1fr; gap: 1px; }
    .feature-card { padding: 22px 16px; }
    .tiers-grid { grid-template-columns: 1fr; gap: 12px; }
    .tier-card { padding: 20px 16px; }
    .intel-grid { grid-template-columns: 1fr; gap: 10px; }
    .intel-card { padding: 22px 18px; }
    .intel-card-stat { font-size: 36px; }
    .chain-showcase { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .chain-card { padding: 16px; }
    .fx-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
    .fx-item { padding: 18px 14px; }
    .fx-rate { font-size: 22px; }
    .security-layout { grid-template-columns: 1fr; gap: 24px; }
    .security-visual { height: 240px; }
    .cta-wrap { padding: 56px 14px; text-align: center; }
    .cta-h2 { font-size: 28px; }
    footer { grid-template-columns: 1fr; padding: 24px 14px; gap: 16px; margin-bottom: 50px; }
    .footer-links { flex-wrap: wrap; gap: 12px; }
    .footer-left { align-items: flex-start; }
    .footer-links a { font-size: 12px; }
    .ledger-table-header { display: none; }
    .ledger-row { grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px 12px; }
    body { cursor: auto; }
    .cursor { display: none; }
  /* --- FOCUS VISIBLE — keyboard navigation ----------------- */
  a:focus-visible,
  button:focus-visible,
  select:focus-visible,
  .btn-xl:focus-visible,
  .btn-ghost:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .theme-btn:focus-visible,
  .nav-signin:focus-visible,
  .nav-cta-btn:focus-visible {
    outline-offset: 1px;
  }

  .skip-to-content {
    position: fixed;
    top: -100%;
    left: 16px;
    z-index: 10001;
    background: var(--text);
    color: var(--bg);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    transition: top 0.2s;
  }

  .skip-to-content:focus {
    top: 16px;
  }
  .cursor.expand {
    width: 40px; height: 40px;
    border-color: var(--text-muted);
    mix-blend-mode: normal;
    background: rgba(0,0,0,0.06);
  }
  [data-theme="dark"] .cursor.expand {
    mix-blend-mode: normal;
    background: rgba(255,255,255,0.08);
    border-color: var(--text-muted);
  }
    .hero-scroll-indicator { display: none; }
    .btn-xl { padding: 12px 20px; font-size: 12px; width: 100%; }
    .cta-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .tv-ticker-wrap { padding: 0 8px; }
  }

  @media (max-width: 480px) {
    nav { width: calc(100% - 14px); height: 42px; padding: 0 10px; border-radius: 12px; top: 6px; }
    .nav-logo-text { font-size: 12px; }
    .nav-cta { gap: 4px; }
    .nav-cta > .btn-ghost, .nav-cta > .btn-primary { font-size: 10px; padding: 5px 10px; }
    .hero { padding: 60px 10px 40px; }
    .hero h1 { font-size: 24px; line-height: 1.0; }
    .hero-desc { font-size: 13px; }
    .hero-orb { width: 140px; height: 140px; opacity: 0.2; }
    .hero-ticker-text { font-size: 9px; }
    .hero-ticker { gap: 4px; }
    .lp-section { padding: 56px 12px; }
    .section-h2, h2.section-h2 { font-size: 22px; margin-bottom: 16px; }
    .section-label { font-size: 11px; }
    .feature-card { padding: 16px 12px; }
    .feature-title { font-size: 13px; }
    .feature-desc { font-size: 12px; }
    .tier-card { padding: 16px 12px; }
    .tier-limit { font-size: 22px; }
    .tiers-grid { grid-template-columns: 1fr; gap: 8px; }
    .intel-grid { grid-template-columns: 1fr; gap: 8px; }
    .intel-card { padding: 18px 14px; }
    .intel-card-stat { font-size: 30px; }
    .intel-card h3 { font-size: 15px; }
    .chain-showcase { grid-template-columns: 1fr; gap: 8px; }
    .chain-card { padding: 14px; }
    .fx-grid { grid-template-columns: 1fr; gap: 1px; }
    .fx-item { padding: 14px 12px; }
    .fx-rate { font-size: 18px; }
    .stats-band { grid-template-columns: 1fr; gap: 1px; }
    .stat-item { padding: 14px; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 10px; }
    .security-visual { height: 200px; }
    .ledger-row { grid-template-columns: 1fr; gap: 2px; padding: 6px 8px; }
    .cta-wrap { padding: 40px 10px; }
    .cta-h2 { font-size: 22px; }
    .cta-sub { font-size: 13px; }
    .btn-xl { padding: 12px 18px; font-size: 11px; width: 100%; }
    .cta-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .sh{ display: none; }
    footer { padding: 20px 10px; text-align: center; }
    .footer-left { align-items: center; }
    .tradingview-widget-container { overflow-x: auto; }
  }

  @media (max-width: 360px) {
    nav { width: calc(100% - 10px); height: 40px; padding: 0 8px; border-radius: 10px; top: 4px; }
    .hero { padding: 52px 8px 32px; }
    .hero h1 { font-size: 20px; }
    .hero-desc { font-size: 12px; }
    .hero-orb { width: 100px; height: 100px; opacity: 0.15; }
    .hero-ticker { gap: 3px; }
    .hero-ticker-text { font-size: 9px; }
    .section-h2, h2.section-h2 { font-size: 18px; }
    .lp-section { padding: 40px 8px; }
    .feature-card { padding: 12px 10px; }
    .feature-title { font-size: 12px; }
    .feature-desc { font-size: 11px; }
    .tier-card { padding: 12px 10px; }
    .tier-limit { font-size: 18px; }
    .intel-card { padding: 14px 10px; }
    .intel-card-stat { font-size: 26px; }
    .chain-card { padding: 12px 10px; }
    .fx-item { padding: 12px 10px; }
    .fx-rate { font-size: 16px; }
    .stat-num { font-size: 18px; }
    .cta-h2 { font-size: 18px; }
    .cta-wrap { padding: 32px 8px; }
    footer { padding: 16px 8px; margin-bottom: 40px; }
    .btn-xl { padding: 10px 14px; font-size: 10px; }
  }

  /* Lang select styling preserved for the i18n switcher */
  .lang-select {
    background: transparent;
    border: 1px solid var(--border-hair);
    color: var(--neutral-400);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    padding: 8px 28px 8px 10px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s, color 0.3s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23737373' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 10px;
  }
  .lang-select:hover { border-color: var(--border-subtle); color: var(--neutral-200); }
  .lang-select:focus { border-color: var(--border-subtle); }

/* ============================================================================
   SHARED LANDING COMPONENTS
   Supplemental rules shared by the landing page and the document pages
   (Privacy / Terms / Security / About). These cover elements the landing
   page builds via markup variations plus the document-page typography that has
   no dashboard equivalent. Scoped so they never interfere with index.html.
   ============================================================================ */

/* ── Document page nav list (landing page uses the hamburger panel) ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.3s var(--ease-luxury), background 0.3s var(--ease-luxury);
}
.nav-links a:hover { color: var(--text); background: var(--overlay); }
.nav-links a.active { color: var(--text); }

/* ── Ghost button — secondary outbound actions (shared) ── */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  padding: 7px 18px;
  border-radius: 10px;
  transition: all 0.3s var(--ease-luxury);
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* ── Document pages: Privacy / Terms / Security / About ── */
.doc-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 110px;
}
.doc-page h1 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 16px;
}
.doc-page h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-light);
}
.doc-page .subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.doc-page .effective-date {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 32px;
}
.doc-page h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.doc-page h2:first-child { margin-top: 0; }
.doc-page h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
}
.doc-page p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}
.doc-page p:last-child { margin-bottom: 0; }
.doc-page ul {
  margin: 12px 0 16px;
  padding-left: 22px;
}
.doc-page li {
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}
.doc-page strong { color: var(--text); font-weight: 500; }
.doc-page span[style*="font-family"] { font-family: var(--font-mono) !important; }

/* ── Security status badge (Security page) ── */
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--price-up);
  padding: 4px 10px;
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.security-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--price-up);
  animation: blink 1.5s ease-in-out infinite;
}

/* ── Values grid (About page philosophy cards) ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
}
.value-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.value-card p {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Footer: highlight the current-page link ── */
.footer-links a.active {
  color: var(--text);
}

/* ─── Responsive: document pages ─── */
@media (max-width: 768px) {
  .doc-page {
    padding: 56px 16px 110px;
  }
  .doc-page h1 { font-size: 32px; }
  .doc-page h2 { font-size: 16px; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .doc-page {
    padding: 56px 14px 110px;
  }
  .doc-page h1 { font-size: 28px; }
  .doc-page h2 { font-size: 15px; margin: 28px 0 12px; }
  .doc-page h2:first-child { margin-top: 0; }
  .doc-page p,
  .doc-page li { font-size: 12px; }

  /* Mobile nav: wrap so the logo/links/button never get clipped */
  nav.doc-nav {
    height: auto !important;
    min-height: 46px;
    flex-wrap: wrap;
    gap: 4px;
    overflow: visible;
  }
  nav.doc-nav .nav-links {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 6px;
    justify-content: flex-start;
  }
  nav.doc-nav .nav-links a { font-size: 10px; padding: 4px 8px; }
  nav.doc-nav .btn-ghost { font-size: 9px; padding: 4px 12px; }
}

@media (max-width: 360px) {
  .doc-page { padding: 56px 10px 110px; }
  .values-grid { gap: 12px; }
}
