/* ============================================================
   HEISTRO – Premium Black & Blue Design System
   Pure CSS · No build tools · GitHub Pages ready
   ============================================================ */

:root {
  /* ── Colours ──────────────────────────────────────────── */
  --bg:           #000000;
  --bg-1:         #030712;
  --bg-2:         #060d20;
  --panel:        rgba(6, 13, 32, 0.72);
  --panel-strong: rgba(3, 7, 18, 0.88);
  --line:         rgba(59, 130, 246, 0.18);
  --line-bright:  rgba(59, 130, 246, 0.38);
  --text:         #f0f4ff;
  --text-dim:     #c7d2ee;
  --muted:        #6b7fa3;

  /* Blue palette */
  --blue-bright:  #60a5fa;
  --blue-mid:     #3b82f6;
  --blue-deep:    #1d4ed8;
  --blue-darker:  #1e3a8a;

  /* Glow shortcuts */
  --glow-sm:      0 0 18px rgba(59, 130, 246, 0.35);
  --glow-md:      0 0 36px rgba(59, 130, 246, 0.45);
  --glow-lg:      0 0 70px rgba(59, 130, 246, 0.4);
  --shadow:       0 24px 64px rgba(0, 0, 0, 0.7);

  /* Border radii */
  --r-xl:         24px;
  --r-lg:         18px;
  --r-md:         12px;

  --container:    1160px;

  /* ── Backwards-compat aliases (keep existing CSS working) ─ */
  --primary:      var(--blue-bright);
  --secondary:    var(--blue-mid);
  --accent:       var(--blue-deep);
  --glow:         var(--glow-sm);
  --glow-c:       rgba(59, 130, 246, 0.4);
  --danger:       #f87171;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body.custom-cursor,
body.custom-cursor * {
  cursor: none !important;
}

body.custom-cursor::before,
body.custom-cursor::after {
  content: '';
  position: fixed;
  left: var(--cursor-x, 50vw);
  top: var(--cursor-y, 50vh);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 150ms ease, height 150ms ease, opacity 150ms ease, border-color 150ms ease, background 150ms ease;
}

body.custom-cursor::before {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(147, 197, 253, 0.9);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35), inset 0 0 14px rgba(59, 130, 246, 0.15);
}

body.custom-cursor::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #93c5fd 0%, #3b82f6 80%);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.75);
}

body.custom-cursor.cursor-hover::before {
  width: 46px;
  height: 46px;
  border-color: rgba(191, 219, 254, 1);
}

body.custom-cursor.cursor-hover::after {
  width: 10px;
  height: 10px;
}

body.custom-cursor.cursor-press::before {
  width: 26px;
  height: 26px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── Background scene ──────────────────────────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(175deg, #000000 0%, #030b1a 50%, #000000 100%);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* ── Glass panel ───────────────────────────────────────────── */
.glass {
  background: linear-gradient(160deg,rgba(255,255,255,0.07),rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

/* ── Navbar ────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
  background: linear-gradient(135deg,rgba(59,130,246,0.28),rgba(59,130,246,0.36));
  border: 1px solid rgba(160,228,255,0.26);
  box-shadow: var(--glow);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 160ms, background 160ms;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 50%, var(--blue-bright) 100%);
  box-shadow: 0 0 28px rgba(59,130,246,0.26);
}

.btn-primary:hover { box-shadow: 0 0 40px rgba(59,130,246,0.45); }

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border-color: var(--line);
}

.btn-secondary:hover { background: rgba(255,255,255,0.09); border-color: rgba(59,130,246,0.3); }

.btn-lg {
  min-height: 3.4rem;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-xl {
  min-height: 3.8rem;
  padding: 1rem 2.4rem;
  font-size: 1.15rem;
}

.glow-pulse { animation: glowPulse 2.5s ease-in-out infinite; }

/* ── Eyebrow / label ───────────────────────────────────────── */
.eyebrow, .badge {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.22);
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Section headings ──────────────────────────────────────── */
.section-label {
  text-align: center;
  margin-bottom: 1.6rem;
}

.section-label h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-label p {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
}

/* ── Generic section wrapper ───────────────────────────────── */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 6rem 0; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 5.5rem 0 3.5rem;
}

.hero-copy { max-width: 620px; }

.hero-copy .eyebrow { margin-bottom: 1.25rem; }

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 1.4rem;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.stat-box {
  padding: 1.1rem 1rem;
  border-radius: var(--r-xl);
  text-align: center;
  transition: transform 200ms, border-color 200ms;
}

.stat-box:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.22); }

.stat-box strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.stat-box span { color: var(--muted); font-size: 0.82rem; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
}

.vis-ring {
  position: absolute;
  inset: 14% 8%;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.18);
  box-shadow: 0 0 80px rgba(59,130,246,0.18), inset 0 0 50px rgba(59,130,246,0.07);
  animation: spin 26s linear infinite;
}

.vis-card {
  position: absolute;
  padding: 1.4rem 1.6rem;
  border-radius: var(--r-xl);
}

.vis-card.main {
  top: 6%;
  right: 4%;
  width: min(100%, 400px);
  animation: float 8s ease-in-out infinite;
}

.vis-card.sub {
  bottom: 10%;
  left: 2%;
  width: min(70%, 280px);
  animation: float 9s ease-in-out infinite;
  animation-delay: -3.5s;
}

.vis-card .card-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.vis-card h3,
.vis-card h4 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.vis-card ul li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.vis-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.vis-card p { color: var(--muted); font-size: 0.88rem; }

/* Status dots */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
  margin-right: 0.5rem;
}

/* ════════════════════════════════════════════════════════════
   HOME – feature highlights (4-column)
   ════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.feat-card {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,0.24);
  box-shadow: var(--shadow), 0 0 36px rgba(59,130,246,0.1);
}

.feat-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(59,130,246,0.14),transparent 70%);
  opacity: 0;
  transition: opacity 220ms;
}

.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.9rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(30,58,138,0.55), rgba(37,99,235,0.45));
  border: 1px solid rgba(147,197,253,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 22px rgba(0,0,0,0.35);
}

.feat-icon i {
  font-size: 1.3rem;
  color: #dbeafe;
}

.feat-icon-lg {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
}

.feat-icon-lg i {
  font-size: 2rem;
}

.feat-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.feat-card p { color: var(--muted); font-size: 0.88rem; }

/* ════════════════════════════════════════════════════════════
   FEATURES PAGE – detailed cards (3-col)
   ════════════════════════════════════════════════════════════ */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.detail-card {
  padding: 1.6rem;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}

.detail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,0.22);
  box-shadow: var(--shadow), 0 0 32px rgba(59,130,246,0.1);
}

.detail-card .feat-icon {
  width: 3rem;
  height: 3rem;
}

.detail-card .feat-icon i { font-size: 1.45rem; }

.detail-card h3 {
  font-size: 1.1rem;
  margin: 0.75rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.detail-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

.bullet-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ════════════════════════════════════════════════════════════
   COMMANDS PAGE
   ════════════════════════════════════════════════════════════ */
.cmd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.cmd-group {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  transition: transform 200ms, border-color 200ms;
}

.cmd-group:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.2); }

.cmd-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cmd-group-head h3 { font-size: 1.03rem; letter-spacing: -0.02em; }

.cmd-count {
  font-size: 0.78rem;
  color: var(--primary);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.cmd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cmd-pill {
  padding: 0.55rem 0.9rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d4dfff;
  font-size: 0.83rem;
  font-family: 'Courier New', monospace;
  transition: background 160ms, border-color 160ms;
}

.cmd-pill:hover { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.25); }

/* ════════════════════════════════════════════════════════════
   INFO CARDS (Invite, Support, About, Docs)
   ════════════════════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.info-card {
  padding: 1.8rem;
  border-radius: var(--r-xl);
  transition: transform 200ms, border-color 200ms;
}

.info-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.2); }

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-title-icon {
  font-size: 1.15rem;
  color: var(--blue-bright);
  filter: drop-shadow(0 0 10px rgba(59,130,246,0.35));
}

.info-card p { color: var(--muted); margin-bottom: 0.75rem; }

.num-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  counter-increment: steps;
}

.num-list { counter-reset: steps; }

.num-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: -0.1em;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════════ */
.faq-list { display: grid; gap: 0.9rem; }

.faq-item {
  padding: 1.4rem 1.6rem;
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: border-color 200ms;
}

.faq-item:hover { border-color: rgba(59,130,246,0.2); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.18);
  color: var(--primary);
  font-size: 1rem;
  transition: transform 260ms ease;
}

.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  transition: max-height 320ms ease, margin-top 320ms ease;
}

.faq-item.open .faq-a { max-height: 200px; margin-top: 0.85rem; }

/* ════════════════════════════════════════════════════════════
   DOCS PAGE
   ════════════════════════════════════════════════════════════ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.doc-card {
  padding: 1.7rem;
  border-radius: var(--r-xl);
  transition: transform 200ms, border-color 200ms;
}

.doc-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.2); }

.doc-card h3 {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn i {
  margin-right: 0.45rem;
  font-size: 1.02rem;
  vertical-align: -1px;
}

/* ════════════════════════════════════════════════════════════
   PREMIUM PAGE
   ════════════════════════════════════════════════════════════ */
.premium-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.prem-card {
  padding: 2rem;
  border-radius: var(--r-xl);
}

.prem-items { display: grid; gap: 0.85rem; margin-top: 1.3rem; }

.prem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.prem-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.42rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 14px rgba(59,130,246,0.4);
}

.prem-item p { color: var(--muted); font-size: 0.92rem; }

.pricing-box {
  padding: 2rem;
  border-radius: var(--r-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pricing-box h3 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.pricing-box p { color: var(--muted); font-size: 0.92rem; }

.price-tag {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--primary);
  line-height: 1;
}

.price-tag small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE – timeline
   ════════════════════════════════════════════════════════════ */
.timeline { display: grid; gap: 0; padding: 0.5rem 0; }

.timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-step:last-child { border-bottom: none; }

.t-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(59,130,246,0.25);
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.timeline-step h4 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.timeline-step p { color: var(--muted); font-size: 0.88rem; }

/* ════════════════════════════════════════════════════════════
   PAGE HERO (non-home pages)
   ════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 5rem 0 2.5rem;
  max-width: 760px;
}

.page-hero .eyebrow { margin-bottom: 1.1rem; }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1.1rem;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 1.75rem;
}

/* ════════════════════════════════════════════════════════════
   INVITE page – CTA box
   ════════════════════════════════════════════════════════════ */
.invite-cta-box {
  padding: 3.5rem 2.5rem;
  border-radius: var(--r-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.invite-cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.invite-cta-box p { color: var(--muted); max-width: 520px; }

/* ════════════════════════════════════════════════════════════
   STATUS PAGE
   ════════════════════════════════════════════════════════════ */
.status-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.status-hero {
  padding: 2rem;
  border-radius: var(--r-xl);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 1rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,0.45);
  animation: pulse 1.8s ease-in-out infinite;
}

.status-bot {
  padding: 1.6rem;
  border-radius: var(--r-xl);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.status-bot-avatar {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(147,197,253,0.3);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.status-bot h3 {
  font-size: 1.18rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.status-bot p { color: var(--muted); font-size: 0.9rem; }

.status-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.status-card {
  padding: 1.2rem;
  border-radius: var(--r-lg);
}

.status-card .k {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.status-card .v {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.status-sub {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-panels {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(148,163,184,0.14);
  color: var(--muted);
  font-size: 0.9rem;
}

.status-list li:last-child { border-bottom: 0; }

.status-progress {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-top: 0.42rem;
}

.status-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 0 14px rgba(59,130,246,0.35);
  width: 0;
  transition: width 500ms ease;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
#footer {
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-inner {
  padding: 1.8rem 2rem;
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer-brand h3 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 260px; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  transition: color 160ms;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 1.2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.9; }
  50%     { transform: scale(1.15); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 22px rgba(59,130,246,0.25); }
  50%     { box-shadow: 0 0 42px rgba(59,130,246,0.5); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-up   { animation: fadeUp  700ms ease both; }
.anim-fade { animation: fadeIn  900ms ease both; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero            { grid-template-columns: 1fr; }
  .hero-visual     { display: none; }
  .stats-row       { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-top      { grid-template-columns: 1fr; }
  .status-panels   { grid-template-columns: 1fr; }
  .premium-grid    { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .hamburger       { display: flex; }
  .nav-links       { display: none; }
  .nav-links.open  {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0;
    gap: 0.2rem;
  }
  .nav-inner       { flex-wrap: wrap; border-radius: 24px; }
  .nav-links a     { padding: 0.75rem 0.95rem; }
  .nav-actions     { display: none; }

  .two-col,
  .cmd-grid,
  .docs-grid       { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr; }
}

@media (hover: none), (pointer: coarse) {
  body.custom-cursor,
  body.custom-cursor * {
    cursor: auto !important;
  }

  body.custom-cursor::before,
  body.custom-cursor::after {
    display: none;
  }

  .invite-cta-box::after {
    animation: none;
  }

  .reactive-glow::before {
    display: none;
  }
}

@media (max-width: 540px) {
  .detail-grid     { grid-template-columns: 1fr; }
  .feature-grid    { grid-template-columns: 1fr; }
  .stats-row       { grid-template-columns: 1fr 1fr; }
  .hero-buttons    { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   NEON TEXT
   ════════════════════════════════════════════════════════════ */
.neon-text {
  background: linear-gradient(90deg, var(--blue-bright), #93c5fd, var(--blue-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(59,130,246,0.55));
}

.gradient-word {
  background: linear-gradient(90deg, var(--blue-bright) 0%, #93c5fd 50%, var(--blue-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════════════════════
   SHIMMER CARD EFFECT
   ════════════════════════════════════════════════════════════ */
.feat-card,
.detail-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feat-card::after,
.detail-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.045) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 550ms ease;
  pointer-events: none;
}

.feat-card:hover::after,
.detail-card:hover::after {
  left: 140%;
}

/* Inner top-edge glow on cards */
.feat-card::before,
.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feat-card:hover::before,
.detail-card:hover::before {
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════
   BUTTON RIPPLE EFFECT
   ════════════════════════════════════════════════════════════ */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transform: translate(calc(var(--ripple-x, 50%) - 50%), calc(var(--ripple-y, 50%) - 50%));
  transition: width 500ms ease, height 500ms ease, opacity 500ms ease;
  opacity: 0;
  pointer-events: none;
}

.btn.rippling::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  transition: width 0ms, height 0ms, opacity 0ms;
}

.btn.rippling-out::before {
  opacity: 0;
  transition: opacity 500ms ease;
}

/* ════════════════════════════════════════════════════════════
   GLASS HOVER BORDER GLOW
   ════════════════════════════════════════════════════════════ */
.glass {
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.glass:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: var(--shadow), 0 0 30px rgba(59,130,246,0.1);
}

.page-hero h1 {
  text-shadow: 0 0 22px rgba(59,130,246,0.16);
}

.reactive-glow {
  position: relative;
  overflow: hidden;
}

.reactive-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(147,197,253,0.2), transparent 60%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.reactive-glow:hover::before {
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════
   STAGGER ANIMATION DELAYS
   ════════════════════════════════════════════════════════════ */
.anim-delay-1 { animation-delay: 80ms !important; }
.anim-delay-2 { animation-delay: 180ms !important; }
.anim-delay-3 { animation-delay: 280ms !important; }
.anim-delay-4 { animation-delay: 400ms !important; }

/* ════════════════════════════════════════════════════════════
   CMD PILL ENHANCED
   ════════════════════════════════════════════════════════════ */
.cmd-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(59,130,246,0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

/* ════════════════════════════════════════════════════════════
   INVITE CTA BOX — animated border glow
   ════════════════════════════════════════════════════════════ */
.invite-cta-box {
  position: relative;
  background: linear-gradient(160deg, rgba(29,78,216,0.12), rgba(59,130,246,0.06));
  border: 1px solid rgba(59,130,246,0.3);
  animation: borderGlow 4s ease infinite;
  overflow: hidden;
  isolation: isolate;
}

.invite-cta-box::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,197,253,0.36) 0%, rgba(59,130,246,0.12) 35%, transparent 75%);
  top: -110px;
  left: clamp(-30px, 10%, 140px);
  filter: blur(4px);
  animation: floatOrb 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.invite-cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 10%, rgba(255,255,255,0.14) 38%, rgba(255,255,255,0.04) 48%, transparent 60%);
  transform: translateX(-130%) skewX(-18deg);
  animation: inviteSweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

.invite-logo-wrap {
  width: 108px;
  height: 108px;
  border-radius: 30px;
  padding: 6px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(145deg, rgba(96,165,250,0.92), rgba(59,130,246,0.3), rgba(147,197,253,0.95)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 28px rgba(59,130,246,0.38), 0 16px 46px rgba(0,0,0,0.45);
  animation: logoFloat 4.8s ease-in-out infinite;
}

.invite-logo {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.invite-cta-box .btn-primary {
  box-shadow: 0 0 40px rgba(59,130,246,0.38), 0 16px 28px rgba(7,15,30,0.48);
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(59,130,246,0.25); box-shadow: 0 0 20px rgba(59,130,246,0.08); }
  50%       { border-color: rgba(96,165,250,0.5);  box-shadow: 0 0 40px rgba(59,130,246,0.18); }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.78; }
  50%      { transform: translateY(18px) scale(1.08); opacity: 1; }
}

@keyframes inviteSweep {
  0%, 55%   { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
  60%, 90%  { transform: translateX(130%) skewX(-18deg); opacity: 1; }
  100%      { transform: translateX(130%) skewX(-18deg); opacity: 0; }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ════════════════════════════════════════════════════════════
   EXTRA KEYFRAMES
   ════════════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 140%;  }
}

@keyframes scanMove {
  from { background-position: 0 0; }
  to   { background-position: 0 40px; }
}

/* ════════════════════════════════════════════════════════════
   PROFESSIONAL ICON SYSTEM
   ════════════════════════════════════════════════════════════ */
.cmd-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.cmd-title i {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.42rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: #dbeafe;
  background: linear-gradient(145deg, rgba(30,58,138,0.72), rgba(37,99,235,0.52));
  border: 1px solid rgba(147,197,253,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 20px rgba(0,0,0,0.28);
}

.section-title-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #dbeafe;
  background: linear-gradient(145deg, rgba(30,58,138,0.72), rgba(37,99,235,0.52));
  border: 1px solid rgba(147,197,253,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 18px rgba(0,0,0,0.26);
  filter: none;
}

.btn i {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 0.42rem;
  vertical-align: -1px;
}
