/* ======================================================
   CryptoRecovery Pro - Main Stylesheet
   ====================================================== */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --accent: #f59e0b;
  --accent2: #8b5cf6;
  --dark: #030712;
  --dark2: #0d1117;
  --dark3: #161b22;
  --dark4: #21262d;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(13,148,136,0.2);
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #484f58;
  --glow: 0 0 40px rgba(13,148,136,0.15);
  --glow-strong: 0 0 60px rgba(13,148,136,0.3);
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }

/* ── SELECTIONS ── */
::selection { background: rgba(13,148,136,0.3); color: #fff; }

/* ── UTILITIES ── */
.text-gradient { background: linear-gradient(135deg, #fff 0%, var(--primary-light) 60%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-primary { color: var(--primary-light) !important; }
.bg-glass { background: rgba(13,17,23,0.8); backdrop-filter: blur(20px); }
.border-glow { border: 1px solid var(--border2); box-shadow: var(--glow); }
.section-tag { display: inline-flex; align-items: center; gap: .4rem; background: rgba(13,148,136,.08); border: 1px solid rgba(13,148,136,.25); color: var(--primary-light); padding: .3rem 1rem; border-radius: 50px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }

/* ── BUTTONS ── */
.btn-glow { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: none; padding: .85rem 2rem; border-radius: 12px; font-weight: 700; font-size: .95rem; transition: all .3s; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; }
.btn-glow::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary-light), var(--primary)); opacity: 0; transition: opacity .3s; }
.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(13,148,136,.35); color: #fff; }
.btn-glow span, .btn-glow svg, .btn-glow i { position: relative; z-index: 1; }
.btn-outline-glow { border: 1.5px solid var(--primary); color: var(--primary-light); padding: .85rem 2rem; border-radius: 12px; font-weight: 700; font-size: .95rem; transition: all .3s; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; background: transparent; cursor: pointer; }
.btn-outline-glow:hover { background: rgba(13,148,136,.1); color: #fff; transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar-main { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: all .3s; }
.navbar-main.scrolled { background: rgba(3,7,18,.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: .7rem 0; }
.nav-brand { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.nav-link-item { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: .9rem; padding: .4rem .8rem; border-radius: 8px; transition: all .2s; }
.nav-link-item:hover, .nav-link-item.active { color: #fff; background: rgba(255,255,255,.06); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 100px 0 60px; }
.hero-canvas-wrap { position: absolute; inset: 0; z-index: 0; }
#particleCanvas { width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,148,136,.12) 0%, transparent 70%); pointer-events: none; }
.hero-glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(13,148,136,.1); border: 1px solid rgba(13,148,136,.3); color: var(--primary-light); padding: .4rem 1rem; border-radius: 50px; font-size: .8rem; font-weight: 700; margin-bottom: 1.5rem; }
.hero-badge .dot { width: 8px; height: 8px; background: var(--primary-light); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero-title { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--text-muted); max-width: 580px; line-height: 1.75; margin-bottom: 2.5rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; }
.hero-stat { border-left: 2px solid var(--primary); padding-left: 1rem; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; font-family: 'Space Grotesk', sans-serif; line-height: 1; }
.hero-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }
.hero-card { background: rgba(13,17,23,.9); border: 1px solid var(--border); border-radius: 20px; padding: 1.8rem; backdrop-filter: blur(20px); }
.trust-logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.trust-logo-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.04); border: 1px solid var(--border); padding: .4rem .8rem; border-radius: 8px; font-size: .75rem; color: var(--text-muted); font-weight: 600; }

/* ── SECTION ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--dark2); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* ── CARDS ── */
.card-glow { background: var(--dark3); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: all .3s; position: relative; overflow: hidden; }
.card-glow::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); transform: scaleX(0); transition: transform .4s; }
.card-glow:hover { border-color: rgba(13,148,136,.4); transform: translateY(-6px); box-shadow: var(--glow); }
.card-glow:hover::before { transform: scaleX(1); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.5rem; }
.card-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .7rem; }
.card-text { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ── PROCESS STEPS ── */
.process-step { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--dark3); transition: all .3s; }
.process-step:hover { border-color: var(--border2); box-shadow: var(--glow); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: #fff; flex-shrink: 0; font-family: 'Space Grotesk', sans-serif; }

/* ── TESTIMONIALS ── */
.testimonial-card { background: var(--dark3); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; height: 100%; transition: border-color .3s; }
.testimonial-card:hover { border-color: var(--border2); }
.stars { color: var(--accent); font-size: 1rem; letter-spacing: .15rem; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.author-ava { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 1rem; flex-shrink: 0; }

/* ── CRYPTO GRID ── */
.crypto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .8rem; }
.crypto-chip { background: var(--dark3); border: 1px solid var(--border); border-radius: 12px; padding: .9rem .6rem; text-align: center; transition: all .25s; cursor: default; }
.crypto-chip:hover { border-color: var(--border2); transform: scale(1.05); box-shadow: var(--glow); }
.crypto-symbol-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; margin: 0 auto .5rem; }

/* ── FAQ ── */
.faq-item { background: var(--dark3); border: 1px solid var(--border); border-radius: 12px; margin-bottom: .7rem; overflow: hidden; }
.faq-question { padding: 1.1rem 1.4rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 600; font-size: .95rem; transition: background .2s; user-select: none; }
.faq-question:hover { background: rgba(255,255,255,.03); }
.faq-question .faq-icon { transition: transform .3s; color: var(--primary-light); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-answer-inner { padding: 0 1.4rem 1.2rem; color: var(--text-muted); font-size: .9rem; line-height: 1.65; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── FOOTER ── */
.footer { background: var(--dark2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--primary-light); margin-bottom: .5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; display: block; margin-bottom: .6rem; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary-light); }
.social-icon { width: 38px; height: 38px; background: var(--dark4); border: 1px solid var(--border); border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all .2s; margin-right: .4rem; text-decoration: none; }
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-divider { border-color: var(--border); margin: 2rem 0 1.5rem; }

/* ═══════════════════════════════════════════════════
   MOBILE NAVIGATION DRAWER
═══════════════════════════════════════════════════ */

/* Desktop: hide hamburger */
.nav-toggle { display: none; }
.nav-menu-desktop { display: flex; align-items: center; gap: .3rem; }

/* Hamburger button */
.nav-toggle {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(13,148,136,.15); border-color: rgba(13,148,136,.35); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #cbd5e1;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dim overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Slide-in drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 82vw;
  z-index: 999;
  background: #0a0f1a;
  border-right: 1px solid rgba(13,148,136,.12);
  box-shadow: 4px 0 40px rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}
.nav-drawer.open { transform: translateX(0); }

/* Drawer top bar */
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #e2e8f0;
  text-decoration: none;
}
.drawer-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
  padding: 0;
}
.drawer-close:hover {
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.3);
  color: #fca5a5;
}

/* Nav links */
.drawer-nav { flex: 1; padding: 14px 10px 10px; }

.drawer-section-label {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #1e3a5f;
  padding: 0 8px;
  margin: 0 0 6px;
  user-select: none;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 11px;
  text-decoration: none;
  color: #94a3b8;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: background .18s, color .18s;
  position: relative;
}
.drawer-link:hover,
.drawer-link--active {
  color: #e2e8f0;
  background: rgba(255,255,255,.05);
}
.drawer-link--active { color: #fff; }

.drawer-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s;
}
.drawer-link:hover .drawer-icon { transform: scale(1.08); }

.drawer-link-text { flex: 1; }

.drawer-arrow {
  color: #1e3a5f;
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}
.drawer-link:hover .drawer-arrow {
  transform: translateX(3px);
  color: #475569;
}

.drawer-divider {
  height: 1px;
  background: rgba(255,255,255,.05);
  margin: 10px 8px 12px;
}

/* Bottom CTA */
.drawer-cta {
  padding: 14px 14px 20px;
  border-top: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.drawer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  border-radius: 11px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  border: none;
}
.drawer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13,148,136,.35);
  color: #fff;
}
.drawer-cta-note {
  text-align: center;
  color: #334155;
  font-size: .72rem;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* ── Breakpoints ── */
@media (max-width: 991px) {
  .nav-menu-desktop { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.4rem; }
}
@media (max-width: 576px) {
  .hero { padding: 80px 0 40px; }
  .section { padding: 4rem 0; }
  .crypto-grid { grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); }
  .btn-glow, .btn-outline-glow { padding: .7rem 1.4rem; font-size: .88rem; }
}
