/* ============================================================
   Recover Your Ledger — Main Stylesheet
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: #000;
  color: #fff;
  font-family: 'Epilogue', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── CSS Variables ── */
:root {
  --bg:      #000000;
  --bg1:     #0d0d0d;
  --bg2:     #141414;
  --bg3:     #1a1a1a;
  --white:   #ffffff;
  --off:     #a0a0a0;
  --dim:     #555555;
  --border:  rgba(255,255,255,0.09);
  --border2: rgba(255,255,255,0.18);
  --radius:  6px;
  --radius-lg: 12px;
}

/* ── Custom Cursor ── */
#ryl-cursor-dot {
  position: fixed; width: 5px; height: 5px;
  background: #fff; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
#ryl-cursor-ring {
  position: fixed; width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, border-color .2s;
}
body:has(a:hover) #ryl-cursor-ring,
body:has(button:hover) #ryl-cursor-ring {
  width: 44px; height: 44px; border-color: rgba(255,255,255,.7);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
h1 { font-size: clamp(3.4rem, 8vw, 7rem); }
h2 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
p  { font-weight: 300; line-height: 1.72; color: var(--off); }

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 52px; }
.section    { padding: 110px 52px; }

/* ── Buttons ── */
.btn-white {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #000;
  font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: .9rem;
  padding: 15px 32px; border-radius: var(--radius);
  border: none; cursor: none;
  transition: background .2s;
  text-decoration: none;
}
.btn-white:hover { background: #d8d8d8; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: #fff;
  font-family: 'Epilogue', sans-serif; font-weight: 600; font-size: .9rem;
  padding: 14px 32px; border-radius: var(--radius);
  border: 1px solid var(--border2);
  transition: all .2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }

/* ── Section Labels ── */
.sec-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--off); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.sec-tag::before { content: ''; width: 16px; height: 1px; background: var(--off); }
.sec-sub { font-size: .98rem; line-height: 1.72; color: var(--off); max-width: 480px; font-weight: 300; }

/* ── NAV ── */
#masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(24px);
  transition: background .3s;
}
#masthead.scrolled { background: rgba(0,0,0,.97); }

.site-branding { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; }
.site-logo-svg { width: 30px; height: 30px; flex-shrink: 0; }
.site-title { font-family: 'Epilogue', sans-serif; font-weight: 800; font-size: 1rem; letter-spacing: -0.025em; }

#primary-navigation { position: absolute; left: 50%; transform: translateX(-50%); }
#primary-navigation ul { display: flex; gap: 32px; }
#primary-navigation a { font-size: .85rem; font-weight: 500; color: var(--off); transition: color .2s; }
#primary-navigation a:hover { color: #fff; }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-btn {
  font-family: 'Epilogue', sans-serif; font-size: .82rem; font-weight: 600;
  padding: 9px 20px; border-radius: var(--radius); text-decoration: none; transition: all .2s;
}
.nav-btn-ghost { color: var(--off); border: 1px solid var(--border); }
.nav-btn-ghost:hover { color: #fff; border-color: var(--border2); }
.nav-btn-solid { background: #fff; color: #000; }
.nav-btn-solid:hover { background: #e0e0e0; }

.nav-hamburger { display: none; background: none; border: none; color: #fff; cursor: pointer; }

/* ── HERO ── */
#hero {
  min-height: 100svh;
  padding: 130px 52px 80px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.055) 0%, transparent 65%);
  pointer-events: none;
}
#hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border2); background: rgba(255,255,255,.04);
  padding: 6px 14px 6px 8px; border-radius: 100px;
  font-size: .78rem; font-weight: 500; color: var(--off); margin-bottom: 36px;
}
.hero-pill-dot {
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-pill-dot svg { width: 10px; height: 10px; color: #000; }

h1.hero-title { margin-bottom: 30px; }
h1.hero-title .italic { font-style: italic; color: var(--off); }
.hero-sub { font-size: 1.05rem; max-width: 520px; margin: 0 auto 48px; }
.hero-sub strong { color: #fff; font-weight: 600; }

.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Coin strip */
.coin-strip { margin-top: 60px; }
.coin-label { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.coins { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.coin {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg1); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 16px;
  font-size: .82rem; font-weight: 500; color: var(--off); transition: all .2s;
}
.coin:hover { border-color: var(--border2); color: #fff; background: var(--bg2); }
.coin-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.ci-btc { background: #f7931a; color: #fff; }
.ci-eth { background: #627eea; color: #fff; }
.ci-sol { background: linear-gradient(135deg,#9945ff,#14f195); color: #fff; }
.ci-usdt { background: #26a17b; color: #fff; }
.ci-bnb { background: #f3ba2f; color: #000; }
.ci-xrp { background: #346aa9; color: #fff; }
.ci-ada { background: #0d1e2d; color: #0033ad; border: 1px solid #0033ad; }
.ci-avax { background: #e84142; color: #fff; }
.ci-matic { background: #8247e5; color: #fff; }

/* ── TICKER ── */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg1); padding: 12px 0; overflow: hidden; }
.ticker-track { display: inline-flex; gap: 52px; white-space: nowrap; animation: ryl-tick 28s linear infinite; }
.ticker-track span { font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.ticker-track span b { color: rgba(255,255,255,.35); font-weight: 400; }
@keyframes ryl-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATS ── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--border); }
.stat-cell { padding: 52px 44px; border-right: 1px solid var(--border); transition: background .3s; }
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--bg1); }
.stat-number { font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 2.8rem; letter-spacing: -0.045em; line-height: 1; margin-bottom: 8px; color: #fff; }
.stat-label { font-size: .78rem; color: var(--dim); letter-spacing: .02em; }

/* ── SERVICES ── */
#services { background: var(--bg); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; gap: 32px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.service-card { background: var(--bg); padding: 38px 34px 42px; position: relative; overflow: hidden; transition: background .3s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent); transform: scaleX(0); transition: transform .4s ease; }
.service-card:hover { background: var(--bg2); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .08em; color: var(--dim); margin-bottom: 26px; }
.service-icon { width: 42px; height: 42px; margin-bottom: 20px; color: var(--white); opacity: .85; }
.service-title { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 11px; color: #fff; }
.service-desc { font-size: .855rem; line-height: 1.7; color: var(--off); font-weight: 300; }
.service-link { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.35); margin-top: 18px; transition: color .2s; }
.service-card:hover .service-link { color: #fff; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 52px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 0; }
.cta-text h3 { font-family: 'Epilogue', sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; margin-bottom: 5px; color: #fff; }
.cta-text p { font-size: .87rem; color: var(--off); }

/* ── ABOUT ── */
#about { background: var(--bg1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Terminal */
.terminal-card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; position: relative; }
.terminal-bar { background: var(--bg2); padding: 11px 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--border); }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot:nth-child(1){background:#ff5f57} .t-dot:nth-child(2){background:#febc2e} .t-dot:nth-child(3){background:#28c840}
.terminal-label { margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: .65rem; color: var(--dim); letter-spacing: .05em; }
.terminal-body { padding: 22px 20px; font-family: 'JetBrains Mono', monospace; font-size: .76rem; line-height: 2; }
.t-prompt { color: var(--dim); }
.t-cmd { color: #fff; }
.t-ok { color: #28c840; }
.t-muted { color: rgba(255,255,255,.5); }
.t-cursor { display: inline-block; width: 7px; height: 13px; background: #fff; vertical-align: middle; animation: ryl-blink 1s step-end infinite; }
@keyframes ryl-blink { 0%,100%{opacity:1} 50%{opacity:0} }
.float-stat { position: absolute; bottom: -16px; right: -16px; background: #fff; color: #000; border-radius: 8px; padding: 16px 20px; font-family: 'Epilogue', sans-serif; font-weight: 800; }
.float-stat-n { font-size: 1.9rem; letter-spacing: -0.04em; line-height: 1; }
.float-stat-l { font-size: .68rem; font-weight: 500; color: rgba(0,0,0,.5); margin-top: 2px; }

/* About features */
.about-features { margin-top: 40px; display: flex; flex-direction: column; }
.about-feature { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.about-feature:first-child { border-top: 1px solid var(--border); }
.af-icon { width: 36px; height: 36px; flex-shrink: 0; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; }
.about-feature h4 { font-size: .9rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; color: #fff; }
.about-feature p { font-size: .83rem; color: var(--off); }

/* ── CONTACT ── */
#contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-items { margin-top: 40px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-item-icon { width: 36px; height: 36px; flex-shrink: 0; background: var(--bg1); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-item h4 { font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; font-weight: 400; }
.contact-item p { font-size: .9rem; color: #fff; font-weight: 400; }

/* Contact form */
.contact-form-wrap { background: var(--bg1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; }
.contact-form-wrap h3 { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.025em; margin-bottom: 26px; color: #fff; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--bg); border: 1px solid var(--border); color: #fff;
  padding: 12px 15px; font-family: 'Epilogue', sans-serif; font-size: .9rem;
  border-radius: var(--radius); outline: none; resize: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dim); }
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,.3); box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.form-group textarea { min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit { width: 100%; margin-top: 6px; font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: .9rem; padding: 15px; border-radius: var(--radius); background: #fff; color: #000; border: none; cursor: none; transition: background .2s; }
.form-submit:hover { background: #d8d8d8; }

/* ── FOOTER ── */
#colophon { background: var(--bg1); border-top: 1px solid var(--border); padding: 36px 52px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.footer-brand .site-title { font-size: .92rem; }
.footer-copy { font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .07em; color: var(--dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .8rem; color: var(--dim); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--off); }

/* ── Reveal Animations ── */
.ryl-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.ryl-reveal.ryl-visible { opacity: 1; transform: none; }

/* ── WordPress Core ── */
.wp-block-image { margin: 0; }
.aligncenter { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .section { padding: 80px 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  #masthead { padding: 0 24px; }
  #primary-navigation, .nav-btn-ghost { display: none; }
  .nav-hamburger { display: flex; padding: 8px; }
  .section { padding: 72px 24px; }
  #hero { padding: 110px 24px 70px; }
  h1 { font-size: 3.2rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-banner { padding: 32px 24px; }
  #colophon { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .float-stat { bottom: -12px; right: -12px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.6rem; }
  .coins { gap: 7px; }
  .coin { padding: 7px 12px; font-size: .75rem; }
}
