@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg:       #07080b;
  --bg-soft:  #0b0d12;
  --bg-card:  #0e1016;
  --glass:    rgba(255,255,255,0.055);
  --glass-hi: rgba(255,255,255,0.09);
  --line:     rgba(255,255,255,0.10);
  --line-hi:  rgba(255,255,255,0.17);
  --text:     #f4f4f5;
  --muted:    #a1a1aa;
  --soft:     #52525b;
  --accent:   #c9d3e8;
  --ok:       #34d399;
  --warn:     #fbbf24;
  --err:      #f87171;
  --r:        14px;
  --rl:       24px;
  --rp:       999px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 8%,  rgba(120,138,172,.15), transparent 32rem),
    radial-gradient(circle at 82% 2%,  rgba(255,255,255,.07),  transparent 26rem),
    linear-gradient(180deg, #07080b 0%, #0b0d12 50%, #07080b 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ══════════════════════════════════════════════
   DESKTOP HEADER  (≥ 900px)
══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 900;
  width: min(1100px, calc(100% - 28px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--rp);
  background: rgba(10,12,18,0.78);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 8px 40px rgba(0,0,0,.32);
  transition: border-color .25s;
}
.site-header.scrolled { border-color: var(--line-hi); }

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); text-decoration: none;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.brand img { width: 26px; height: 26px; border-radius: 7px; object-fit: contain; }
.brand-k {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 12px;
  background: linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.04));
  border: 1px solid var(--line);
}

/* Desktop nav links */
.desktop-nav {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: flex-end;
}
.desktop-nav a {
  color: var(--muted); text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  padding: 7px 13px; border-radius: var(--rp);
  transition: color .15s, background .15s; white-space: nowrap;
}
.desktop-nav a:hover { color: var(--text); background: var(--glass); }
.desktop-nav .btn-invite {
  margin-left: 8px;
  background: var(--text); color: #08090d;
  border: none; padding: 7px 16px; border-radius: var(--rp);
  font-size: 13px; font-weight: 700;
  transition: background .15s, transform .15s;
}
.desktop-nav .btn-invite:hover { background: #e0e0e5; transform: translateY(-1px); }

/* Hamburger — hidden on desktop */
.hbg {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0;
}
.hbg span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all .25s; }
.hbg.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Desktop drawer (hidden by default, shown only when .mob.open) */
.mob {
  display: none; position: fixed; z-index: 899;
  top: 72px; left: 50%; transform: translateX(-50%);
  width: min(480px, calc(100% - 28px));
  background: rgba(7,8,11,.97); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 20px;
  flex-direction: column; padding: 12px 0 16px;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.mob.open { display: flex; }
.mob a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 13px 24px; transition: color .15s; display: block; }
.mob a:hover { color: var(--text); }
.mob hr { border: none; border-top: 1px solid var(--line); margin: 10px 24px; }
.mob-btns { display: flex; flex-direction: column; gap: 9px; padding: 8px 24px 0; }

/* ══════════════════════════════════════════════
   BOTTOM NAV  (mobile only, < 900px)
   Replaces burger on mobile — no drawer needed
══════════════════════════════════════════════ */
.bottom-nav {
  display: none; /* shown via media query */
}

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 0 20px; border-radius: var(--rp);
  font-family: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid var(--line);
  transition: all .18s; white-space: nowrap;
}
.btn-primary   { background: var(--text); color: #08090d; border-color: var(--text); }
.btn-primary:hover { background: #e0e0e5; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,255,255,.10); }
.btn-secondary { background: var(--glass); color: var(--text); }
.btn-secondary:hover { background: var(--glass-hi); transform: translateY(-1px); }
.btn-ghost     { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--glass); }
.btn-sm  { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg  { min-height: 50px; padding: 0 28px; font-size: 15px; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  max-width: 720px; margin: 0 auto;
  padding: 96px 0 80px; text-align: center;
}
.eyebrow {
  display: inline-block; color: var(--accent);
  text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; font-weight: 600; margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: .96; letter-spacing: -.055em;
  margin-bottom: 20px; color: var(--text);
}
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p {
  color: var(--muted); font-size: 16px; line-height: 1.75;
  max-width: 540px; margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Stats */
.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap; justify-content: center;
  margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line);
}
.hstat { display: flex; flex-direction: column; gap: 4px; }
.hs-val { font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--text); line-height: 1; }
.hs-lbl { font-size: 11px; font-weight: 500; color: var(--soft); letter-spacing: .04em; text-transform: uppercase; }

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.sec  { padding: 96px 0; }
.sec2 { background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.018) 50%, transparent 100%); }

.sh { text-align: center; margin-bottom: 56px; }
.sh .eyebrow { margin-bottom: 12px; }
.sh h2 { font-size: clamp(22px,3.5vw,40px); font-weight: 800; letter-spacing: -.05em; line-height: 1.12; }
.sh h2 span { color: var(--accent); }
.sh p  { color: var(--muted); font-size: 15px; max-width: 440px; margin: 10px auto 0; line-height: 1.72; }

/* ── CARDS shared style ── */
.k-card {
  background: rgba(15,18,28,0.62);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.k-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-hi);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}

/* ══════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.feat-card {
  padding: 26px 24px; border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(14,16,24,0.60);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 44px rgba(0,0,0,.20);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.feat-card:hover { border-color: var(--line-hi); transform: translateY(-3px); box-shadow: 0 22px 56px rgba(0,0,0,.30); }
.feat-card.wide { grid-column: span 2; }
.feat-icon { font-size: 22px; margin-bottom: 14px; display: block; }
.feat-tag  { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; opacity: .75; }
.feat-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feat-card p  { font-size: 13px; color: var(--muted); line-height: 1.72; }

/* ══════════════════════════════════════════════
   WHY
══════════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.why-card {
  padding: 24px 22px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(14,16,24,0.60);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 44px rgba(0,0,0,.20);
  transition: border-color 180ms ease, transform 180ms ease;
}
.why-card:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.why-num { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 10px; display: block; }
.why-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.why-card p  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════════════
   COMMANDS
══════════════════════════════════════════════ */
.cmd-tabs { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.ctab {
  font-size: 13px; font-weight: 500; padding: 6px 16px; border-radius: var(--rp);
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.ctab.on, .ctab:hover { background: var(--glass-hi); border-color: var(--line-hi); color: var(--text); }

.cmd-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 10px; }
.cc {
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(14,16,24,0.60); backdrop-filter: blur(10px);
  transition: border-color 180ms ease, transform 180ms ease;
}
.cc:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.cc-name { font-size: 14px; font-weight: 700; color: var(--accent); font-family: 'SF Mono', Consolas, monospace; }
.cc-tag  { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--soft); }
.cc p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.cmd-hint { text-align: center; margin-top: 20px; font-size: 13px; color: var(--soft); }
.cmd-hint code { color: var(--accent); }

/* ══════════════════════════════════════════════
   CONFIG
══════════════════════════════════════════════ */
.cfg-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 860px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--rl); overflow: hidden;
  background: rgba(14,16,24,0.60); backdrop-filter: blur(16px);
}
.cfg-l { padding: 44px 40px; }
.cfg-r { padding: 44px 36px; border-left: 1px solid var(--line); background: rgba(255,255,255,.022); }
.cfg-label { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; opacity: .8; }
.cfg-l h2  { font-size: clamp(18px,2.4vw,26px); font-weight: 800; letter-spacing: -.04em; color: var(--text); line-height: 1.18; margin-bottom: 14px; }
.cfg-l p   { color: var(--muted); font-size: 14px; line-height: 1.78; margin-bottom: 22px; }
.cfg-pts   { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cfg-pts li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.cfg-pts li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; opacity: .6; }
.cfg-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.045); }
.cfg-row:last-child { border-bottom: none; }
.cfg-cmd { font-family: 'SF Mono', Consolas, monospace; font-size: 13px; font-weight: 700; color: var(--accent); min-width: 82px; flex-shrink: 0; }
.cfg-dsc { font-size: 12px; color: var(--soft); line-height: 1.55; }

/* ══════════════════════════════════════════════
   OWNERS
══════════════════════════════════════════════ */
.owners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 720px; margin: 0 auto; }
.owner-card {
  padding: 28px 24px; border-radius: 22px;
  border: 1px solid var(--line); background: rgba(14,16,24,0.60); backdrop-filter: blur(14px);
  box-shadow: 0 16px 44px rgba(0,0,0,.20);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.owner-card:hover { border-color: var(--line-hi); transform: translateY(-3px); box-shadow: 0 22px 56px rgba(0,0,0,.28); }

.ow-av {
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 16px;
  object-fit: cover; display: block;
  border: 2px solid var(--line);
}
.ow-av-fb {
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 16px;
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 2px solid var(--line);
  font-size: 22px; font-weight: 800; color: var(--soft);
}
.ow-online { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; animation: pulse 2.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.ow-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ow-role { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.ow-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.ow-chip { font-size: 11px; padding: 3px 9px; border-radius: 5px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--soft); display: inline-block; }

/* ══════════════════════════════════════════════
   STATUS
══════════════════════════════════════════════ */
.status-list { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.sr {
  padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(14,16,24,0.60); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color 180ms ease;
}
.sr:hover { border-color: var(--line-hi); }
.sr-name  { font-size: 14px; color: var(--muted); }
.sr-badge { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ok); }
.sr-dot   { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2.5s infinite; }

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-list { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.fqi { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(14,16,24,0.60); backdrop-filter: blur(10px); transition: border-color 180ms ease; }
.fqi.open { border-color: var(--line-hi); }
.fqq { width: 100%; padding: 16px 18px; background: none; border: none; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; transition: color .15s; }
.fqq:hover { color: var(--accent); }
.fqi-ico { font-size: 18px; color: var(--soft); transition: transform .25s; flex-shrink: 0; }
.fqi.open .fqi-ico { transform: rotate(45deg); color: var(--accent); }
.fqa { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 18px; }
.fqi.open .fqa { max-height: 260px; padding: 0 18px 16px; }
.fqa p { color: var(--muted); font-size: 14px; line-height: 1.78; border-top: 1px solid rgba(255,255,255,.055); padding-top: 12px; }

/* ══════════════════════════════════════════════
   SUPPORT
══════════════════════════════════════════════ */
.sup-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 12px; max-width: 600px; margin: 0 auto; }
.scard {
  padding: 28px 24px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(14,16,24,0.60); backdrop-filter: blur(14px);
  text-align: center;
  box-shadow: 0 16px 44px rgba(0,0,0,.20);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.scard:hover { border-color: var(--line-hi); transform: translateY(-3px); box-shadow: 0 22px 56px rgba(0,0,0,.28); }
.scard-ico { font-size: 28px; margin-bottom: 12px; }
.scard h3  { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.scard p   { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }

/* ══════════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════════ */
.fcta { padding: 96px 0; text-align: center; }
.fcta-box {
  max-width: 660px; margin: 0 auto;
  padding: 52px 44px; border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(14,16,24,0.60); backdrop-filter: blur(18px);
  position: relative;
}
.fcta-box::before {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,210,232,.35), transparent);
}
.fcta-box h2 { font-size: clamp(22px,3.5vw,36px); font-weight: 800; letter-spacing: -.04em; color: var(--text); margin-bottom: 12px; line-height: 1.12; }
.fcta-box h2 span { color: var(--accent); }
.fcta-box p  { color: var(--muted); font-size: 15px; margin-bottom: 30px; line-height: 1.72; max-width: 420px; margin-left: auto; margin-right: auto; }
.fcta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fcta-note { margin-top: 18px; font-size: 12px; color: var(--soft); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); padding: 52px 0 22px; }
.footer-g { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.footer-brand img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }
.footer h4 { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.footer p  { color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul li a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .15s; }
.footer ul li a:hover { color: var(--text); }
.footer-bot { border-top: 1px solid rgba(255,255,255,.055); padding-top: 20px; text-align: center; font-size: 12px; color: var(--soft); }

/* ══════════════════════════════════════════════
   REVEAL
══════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ══════════════════════════════════════════════
   DASHBOARD COMPAT
══════════════════════════════════════════════ */
.dashboard-container { min-height: 100vh; padding-top: 80px; }
.dashboard-content { max-width: 820px; margin: 40px auto 0; background: var(--glass); border: 1px solid var(--line); border-radius: var(--rl); overflow: hidden; backdrop-filter: blur(14px); }
.dashboard-header { border-bottom: 1px solid var(--line); padding: 24px 32px; display: flex; align-items: center; gap: 14px; }
.dashboard-header h2 { font-size: 20px; font-weight: 700; }
.dashboard-body { padding: 32px; }
.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.07); }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--line); object-fit: cover; }
.profile-info h1 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.profile-info p  { color: var(--muted); font-size: 14px; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.profile-field { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.profile-field label { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); margin-bottom: 5px; font-weight: 600; }
.profile-field .field-value { display: block; font-size: 14px; color: var(--text); word-break: break-all; }
.dashboard-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.error-message   { background: rgba(248,113,113,.07); border: 1px solid rgba(248,113,113,.25); color: #fca5a5; padding: 12px 15px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.success-message { background: rgba(52,211,153,.07);  border: 1px solid rgba(52,211,153,.25);  color: #86efac;  padding: 12px 15px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.loading-message { text-align: center; color: var(--muted); padding: 40px; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  /* Switch to mobile nav */
  .desktop-nav { display: none; }
  .hbg { display: none; } /* hidden too — bottom nav replaces everything */
  .mob  { display: none; } /* drawer unused on mobile */

  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-card.wide { grid-column: span 2; }
  .why-grid  { grid-template-columns: 1fr 1fr; }
  .cfg-wrap  { grid-template-columns: 1fr; }
  .cfg-r     { border-left: none; border-top: 1px solid var(--line); }
  .owners-grid { max-width: 440px; grid-template-columns: 1fr; }
  .footer-g  { grid-template-columns: 1fr 1fr; }

  /* Compact pill header on tablet/mobile */
  .site-header {
    width: calc(100% - 28px);
    padding: 9px 14px;
  }

  /* Bottom nav */
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 4px;
    position: fixed;
    left: 14px; right: 14px; bottom: 14px;
    z-index: 950;
    padding: 10px 8px;
    border-radius: 22px;
    background: rgba(10,12,18,0.84);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 50px rgba(0,0,0,.40);
  }

  .bn-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--soft); text-decoration: none;
    padding: 8px 4px; border-radius: 14px;
    font-size: 10px; font-weight: 500; letter-spacing: .02em;
    transition: color .15s, background .15s;
  }
  .bn-item:hover, .bn-item.active { color: var(--text); background: rgba(255,255,255,.07); }
  .bn-icon { font-size: 18px; line-height: 1; }

  body { padding-bottom: 100px; }
}

/* Mobile small */
@media (max-width: 680px) {
  .feat-grid  { grid-template-columns: 1fr; }
  .feat-card.wide { grid-column: span 1; }
  .why-grid   { grid-template-columns: 1fr; }
  .footer-g   { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 500px) {
  .sec { padding: 70px 0; }
  .fcta-box { padding: 36px 20px; }
  .fcta-btns { flex-direction: column; align-items: center; }
  .fcta-btns .btn-lg { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; }
  .hero-stats { gap: 22px; }
}
