/* ================================================================
   LiteMine — white / purple design system
   ================================================================ */

:root {
  --p-950: #1b0a38;
  --p-900: #2b1060;
  --p-800: #4c1d95;
  --p-700: #5b21b6;
  --p-600: #6d28d9;
  --p-500: #7c3aed;
  --p-400: #8b5cf6;
  --p-300: #a78bfa;
  --p-200: #c4b5fd;
  --p-100: #ede9fe;
  --p-50: #f7f5ff;

  --ink: #191126;
  --ink-2: #3d3350;
  --muted: #776d8b;
  --muted-2: #9a92aa;
  --line: #ece7f6;
  --line-2: #e2dbf2;
  --bg: #fbfaff;
  --white: #ffffff;

  --green: #0e9f6e;
  --green-soft: #e7f8f1;
  --amber: #b45309;
  --amber-soft: #fff5e5;
  --red: #dc2648;
  --red-soft: #ffeef1;
  --blue: #2563eb;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(30, 16, 60, 0.05);
  --shadow-sm: 0 4px 14px -6px rgba(45, 20, 90, 0.12);
  --shadow: 0 18px 40px -20px rgba(64, 28, 130, 0.28);
  --shadow-lg: 0 36px 80px -34px rgba(64, 28, 130, 0.42);
  --shadow-purple: 0 14px 30px -12px rgba(109, 40, 217, 0.55);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Consolas, monospace;

  --sidebar: 268px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--p-200); color: var(--p-950); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }

/* ---------------------------------------------------------------- */
/* Buttons                                                          */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 21px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
  user-select: none;
}

.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px) scale(0.995); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 52%, #5b21b6 100%);
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -12px rgba(109, 40, 217, 0.65);
}

.btn-dark {
  background: var(--p-950);
  color: #fff;
}
.btn-dark:hover:not(:disabled) { background: var(--p-900); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink-2);
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--p-300);
  color: var(--p-700);
  background: var(--p-50);
}

.btn-soft {
  background: var(--p-50);
  color: var(--p-700);
  border-color: var(--p-100);
}
.btn-soft:hover:not(:disabled) { background: var(--p-100); }

.btn-white {
  background: #fff;
  color: var(--p-700);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45);
}
.btn-white:hover:not(:disabled) { transform: translateY(-1px); }

.btn-danger {
  background: var(--red-soft);
  color: var(--red);
  border-color: #ffd9e1;
}
.btn-danger:hover:not(:disabled) { background: #ffe2e8; }

.btn-success {
  background: var(--green-soft);
  color: var(--green);
  border-color: #c8f0e1;
}
.btn-success:hover:not(:disabled) { background: #d9f6ea; }

.btn-sm { height: 36px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
.btn-xs { height: 30px; padding: 0 10px; border-radius: 8px; font-size: 12px; gap: 5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; border-radius: 15px; }
.btn-block { width: 100%; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: 0.16s ease;
}
.icon-btn:hover { color: var(--p-700); border-color: var(--p-200); background: var(--p-50); }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- */
/* Brand                                                            */
/* ---------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #a78bfa, #7c3aed 55%, #5b21b6);
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 8px 18px -8px rgba(109, 40, 217, 0.8);
  flex: none;
}
.brand-mark span { transform: translateY(-1px); }

/* ---------------------------------------------------------------- */
/* Landing header                                                   */
/* ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(236, 231, 246, 0.9);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--p-700); }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle { display: none; }

/* ---------------------------------------------------------------- */
/* Landing background & hero                                        */
/* ---------------------------------------------------------------- */

.landing {
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(167, 139, 250, 0.28), transparent 62%),
    radial-gradient(900px 500px at 8% 2%, rgba(221, 214, 254, 0.55), transparent 55%),
    #fff;
  overflow-x: hidden;
}

.hero {
  position: relative;
  padding: 78px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--p-100);
  box-shadow: var(--shadow-xs);
  color: var(--p-700);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 159, 110, 0.13);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.7rem, 5.1vw, 4.35rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.hero h1 .grad {
  background: linear-gradient(115deg, #7c3aed 0%, #a855f7 45%, #5b21b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 20px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.hero-chips span { display: inline-flex; align-items: center; gap: 7px; }
.hero-chips svg { width: 15px; height: 15px; color: var(--p-500); }

/* Hero visual */
.hero-visual {
  position: relative;
  padding: 12px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6% -12%;
  background: radial-gradient(circle at 55% 45%, rgba(139, 92, 246, 0.3), transparent 62%);
  filter: blur(18px);
  z-index: 0;
}

.rig-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 40px 90px -40px rgba(61, 25, 125, 0.5), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
  transform: rotate(-0.5deg);
}

.rig-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rig-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 5px 10px;
  border-radius: 999px;
}
.live-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(14, 159, 110, 0); }
}

.rig-balance {
  margin-top: 14px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.rig-balance strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rig-balance strong small {
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 3px;
}
.rig-balance .usd {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 4px 8px;
  border-radius: 7px;
  margin-bottom: 3px;
}

.spark-wrap {
  margin: 18px -6px 4px;
  height: 96px;
}

.rig-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.rig-stat {
  background: var(--p-50);
  border: 1px solid #f0ebfb;
  border-radius: 14px;
  padding: 12px 13px;
}
.rig-stat span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
.rig-stat b {
  display: block;
  margin-top: 5px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rig-stat b em { font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 500; }

.rig-progress {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px dashed var(--line-2);
}
.rig-progress .row-between { font-size: 12px; color: var(--muted); font-weight: 500; }
.rig-progress .row-between b { color: var(--ink); font-weight: 600; }
.progress {
  height: 7px;
  border-radius: 99px;
  background: var(--p-100);
  overflow: hidden;
  margin-top: 9px;
}
.progress > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 13px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  animation: floaty 7s ease-in-out infinite;
}
.float-card small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; margin-top: 1px; }
.float-card .fc-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  flex: none;
}
.float-card .fc-icon svg { width: 15px; height: 15px; }
.float-card.one { top: 4%; right: -26px; }
.float-card.two { bottom: 6%; left: -34px; animation-delay: -3.4s; }
.float-card.two .fc-icon { background: var(--p-100); color: var(--p-700); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------------------------------------------------------------- */
/* Trust strip                                                      */
/* ---------------------------------------------------------------- */

.trust-wrap { padding: 26px 0 12px; }
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 10px;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
}
.trust-item {
  text-align: center;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.trust-item span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- */
/* Sections                                                         */
/* ---------------------------------------------------------------- */

.section { padding: 86px 0; position: relative; }
.section-head { max-width: 620px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--p-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-tag::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--p-400), var(--p-600));
}
.section-head h2 {
  margin-top: 13px;
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.section-head p { margin-top: 13px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: 0.22s ease;
  position: relative;
  overflow: hidden;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--p-200); }
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--p-100), #f3edff);
  color: var(--p-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  border: 1px solid #e9e1fb;
}
.step-card h3 { margin-top: 18px; font-size: 18px; font-weight: 700; }
.step-card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.step-card .step-note {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--p-600);
}

/* Packs */
.packs-section {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(237, 233, 254, 0.85), transparent 70%),
    #fff;
  border-top: 1px solid #f6f3fc;
  border-bottom: 1px solid #f6f3fc;
}
.packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pack-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 27px 24px 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: 0.22s ease;
}
.pack-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pack-card.featured {
  border-color: var(--p-300);
  box-shadow: 0 24px 60px -28px rgba(109, 40, 217, 0.4);
  background: linear-gradient(180deg, #fcfaff 0%, #fff 38%);
}
.pack-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(167, 139, 250, 0.9), rgba(124, 58, 237, 0.15) 45%, rgba(167, 139, 250, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pack-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(91, 33, 182, 0.7);
  white-space: nowrap;
}
.pack-name { font-size: 15px; font-weight: 700; color: var(--p-700); letter-spacing: -0.01em; }
.pack-price { display: flex; align-items: flex-start; gap: 4px; margin-top: 10px; }
.pack-price .cur { font-size: 20px; font-weight: 600; margin-top: 7px; color: var(--ink-2); }
.pack-price .num {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.pack-price .per { align-self: flex-end; font-size: 12px; color: var(--muted); margin: 0 0 7px 4px; }
.pack-roi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
}
.pack-specs {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.pack-spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.pack-spec span { color: var(--muted); }
.pack-spec b { font-weight: 600; color: var(--ink); }
.pack-features { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; }
.pack-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.8px; color: var(--ink-2); line-height: 1.4; }
.pack-features svg { width: 15px; height: 15px; color: var(--p-500); flex: none; margin-top: 1px; }
.pack-card .btn { margin-top: auto; }
.pack-foot { text-align: center; margin-top: 10px; font-size: 11.5px; color: var(--muted-2); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  transition: 0.2s ease;
}
.feature:hover { border-color: var(--p-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--p-50);
  border: 1px solid var(--p-100);
  color: var(--p-600);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { margin-top: 16px; font-size: 15.5px; font-weight: 700; }
.feature p { margin-top: 7px; font-size: 13.2px; line-height: 1.6; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item[open] { border-color: var(--p-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--p-500);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 19px; color: var(--muted); font-size: 13.8px; line-height: 1.7; }

/* CTA */
.cta-section { padding: 20px 0 90px; }
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 54px 46px;
  background:
    radial-gradient(600px 300px at 88% -20%, rgba(196, 181, 253, 0.5), transparent 60%),
    linear-gradient(125deg, #4c1d95 0%, #6d28d9 48%, #7c3aed 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  box-shadow: 0 30px 70px -30px rgba(76, 29, 149, 0.6);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  opacity: 0.6;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.04em; line-height: 1.14; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, 0.72); font-size: 14.5px; max-width: 460px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 46px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { margin-top: 14px; font-size: 13px; line-height: 1.65; color: var(--muted); max-width: 290px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.footer-col a { display: block; margin-top: 11px; font-size: 13px; color: var(--muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--p-700); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
}
.footer-bottom .socials { display: flex; gap: 8px; }
.footer-bottom .socials a {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.footer-bottom .socials a:hover { color: var(--p-700); border-color: var(--p-200); background: var(--p-50); }
.footer-bottom .socials svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- */
/* Modal / auth                                                     */
/* ---------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(27, 10, 56, 0.42);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 40px 90px -30px rgba(20, 8, 45, 0.55);
  position: relative;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-backdrop.open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: var(--p-50);
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.15s ease;
}
.modal-close:hover { background: var(--p-100); color: var(--p-800); }

.auth-card { max-width: 440px; }
.auth-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #a78bfa, #7c3aed 55%, #5b21b6);
  color: #fff;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  box-shadow: 0 14px 28px -12px rgba(109, 40, 217, 0.7);
  margin-bottom: 20px;
}
.auth-card h2 { font-size: 25px; letter-spacing: -0.035em; }
.auth-card > p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.auth-form { margin-top: 24px; }
.field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--p-400);
  pointer-events: none;
}
.input,
.input-wrap input {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fdfcff;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.input-wrap input { padding-left: 42px; }
.input::placeholder,
.input-wrap input::placeholder { color: #b3abc4; font-family: var(--font-sans); font-size: 13px; }
.input:focus,
.input-wrap input:focus {
  border-color: var(--p-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.13);
}
.input.invalid { border-color: #f0a5b5; box-shadow: 0 0 0 4px rgba(220, 38, 72, 0.08); }

.form-hint { margin-top: 9px; font-size: 11.8px; color: var(--muted); line-height: 1.5; }
.form-hint b { color: var(--p-700); font-weight: 600; }
.form-error {
  margin-top: 12px;
  background: var(--red-soft);
  border: 1px solid #ffd3dd;
  color: #b3163a;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.45;
}
.auth-form .btn { margin-top: 16px; }
.auth-fine {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.5;
}
.auth-switch {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.auth-switch button {
  background: none;
  border: 0;
  color: var(--p-700);
  font-weight: 600;
  cursor: pointer;
  font-size: 12.5px;
  padding: 0;
}
.auth-switch button:hover { text-decoration: underline; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- */
/* App shell                                                        */
/* ---------------------------------------------------------------- */

body.app { background: #f8f6fd; min-height: 100vh; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar);
  flex: none;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 22px 18px 18px;
  overflow-y: auto;
}
.sidebar .brand { padding: 0 6px 22px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; }
.nav-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding: 16px 10px 7px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 11px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  width: 100%;
  text-align: left;
  transition: 0.15s ease;
  position: relative;
}
.nav-item svg { width: 18px; height: 18px; flex: none; opacity: 0.85; }
.nav-item:hover { background: var(--p-50); color: var(--p-800); }
.nav-item.active {
  background: linear-gradient(90deg, #f3edff, #faf8ff);
  border-color: #ece4fd;
  color: var(--p-700);
  font-weight: 600;
}
.nav-item.active::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--p-400), var(--p-700));
}
.nav-item .nav-badge {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 999px;
  padding: 2px 7px;
}

.sidebar-foot { margin-top: auto; padding-top: 18px; }
.side-user {
  background: linear-gradient(160deg, #faf8ff, #f4efff);
  border: 1px solid var(--p-100);
  border-radius: 14px;
  padding: 13px;
}
.side-user .addr {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  word-break: break-all;
  line-height: 1.5;
  display: block;
}
.side-user .bal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(196, 181, 253, 0.35);
}
.side-user .bal b { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.side-user .bal span { font-size: 10.5px; color: var(--green); font-weight: 600; }
.side-user .user-actions { display: flex; gap: 6px; margin-top: 10px; }
.side-user .user-actions button { flex: 1; }

.side-admin-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--p-700);
  background: var(--p-100);
  border-radius: 6px;
  padding: 3px 6px;
}

.app-main {
  margin-left: var(--sidebar);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 70px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-title h1 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.topbar-title p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.price-chip .ltc-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #c4b5fd, #7c3aed);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
}
.price-chip b { color: var(--ink); }
.price-chip .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #a78bfa, #6d28d9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--p-100);
}
.menu-btn { display: none; }

.app-content {
  padding: 28px 32px 60px;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}

/* Sidebar overlay for mobile */
.sidebar-scrim {
  position: fixed;
  inset: 0;
  background: rgba(27, 10, 56, 0.4);
  backdrop-filter: blur(3px);
  z-index: 80;
  display: none;
}

/* ---------------------------------------------------------------- */
/* Shared app pieces                                                */
/* ---------------------------------------------------------------- */

.view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.view-head .eyebrow { background: #fff; }
.view-head h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.view-head p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.addr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 8px 7px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.addr-chip .full { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr-chip button {
  border: 0;
  background: var(--p-50);
  color: var(--p-600);
  border-radius: 999px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.addr-chip button:hover { background: var(--p-100); }
.addr-chip svg { width: 13px; height: 13px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.card-pad { padding: 22px; }
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 0;
}
.card-head h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.015em; }
.card-head p { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.card-body { padding: 18px 22px 22px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: 0.2s ease;
}
.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.stat-card .sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-card .sc-label { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; }
.stat-card .sc-icon {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--p-50);
  border: 1px solid var(--p-100);
  color: var(--p-600);
  flex: none;
}
.stat-card .sc-icon svg { width: 16px; height: 16px; }
.stat-card .sc-value {
  margin-top: 11px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}
.stat-card .sc-value small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stat-card .sc-foot { margin-top: 7px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.stat-card .sc-foot.up { color: var(--green); font-weight: 600; }
.stat-card .sc-foot svg { width: 12px; height: 12px; }
.stat-card.highlight {
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(196, 181, 253, 0.5), transparent 65%),
    linear-gradient(160deg, #4c1d95, #6d28d9 60%, #7c3aed);
  border-color: transparent;
  color: #fff;
}
.stat-card.highlight .sc-label { color: rgba(255, 255, 255, 0.72); }
.stat-card.highlight .sc-value { color: #fff; }
.stat-card.highlight .sc-value small { color: rgba(255, 255, 255, 0.7); }
.stat-card.highlight .sc-foot { color: rgba(255, 255, 255, 0.72); }
.stat-card.highlight .sc-icon { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.stat-card.highlight .sc-foot.up { color: #b9f6dc; }

.grid-main { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-top: 16px; }
.grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }

.chart-wrap { position: relative; padding: 8px 4px 0; }
.chart-wrap svg { width: 100%; height: auto; overflow: visible; }
.chart-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: var(--p-950);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 8px;
  padding: 6px 9px;
  transform: translate(-50%, -115%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s ease;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.chart-tip.show { opacity: 1; }
.chart-legend { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--p-500); }
.legend-dot.alt { background: var(--p-200); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.badge svg { width: 11px; height: 11px; }
.badge-purple { background: var(--p-50); color: var(--p-700); border: 1px solid var(--p-100); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-slate { background: #f3f1f8; color: var(--muted); }
.badge-blue { background: #eef4ff; color: var(--blue); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.row-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.stack { display: grid; gap: 12px; }

.empty-state {
  text-align: center;
  padding: 34px 18px;
  color: var(--muted);
}
.empty-state .es-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--p-50);
  border: 1px solid var(--p-100);
  color: var(--p-500);
  margin: 0 auto 13px;
}
.empty-state .es-icon svg { width: 22px; height: 22px; }
.empty-state h4 { font-size: 14px; font-weight: 700; color: var(--ink); }
.empty-state p { margin-top: 5px; font-size: 12.5px; line-height: 1.55; }

/* Plan cards */
.plan-list { display: grid; gap: 12px; }
.plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  background: linear-gradient(160deg, #fdfcff, #faf8ff);
}
.plan-card .pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; }
.plan-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--p-100);
  color: var(--p-700);
}
.plan-ico svg { width: 15px; height: 15px; }
.plan-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 11px; font-size: 11.5px; color: var(--muted); }
.plan-meta b { color: var(--ink); font-weight: 600; }
.plan-card .progress { margin-top: 10px; height: 6px; }
.plan-foot { display: flex; justify-content: space-between; margin-top: 7px; font-size: 10.5px; color: var(--muted-2); }

/* Activity list */
.activity { display: grid; gap: 1px; }
.activity-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.activity-item:last-child { border-bottom: 0; padding-bottom: 0; }
.act-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--p-50);
  color: var(--p-600);
  flex: none;
}
.act-ico.green { background: var(--green-soft); color: var(--green); }
.act-ico.amber { background: var(--amber-soft); color: var(--amber); }
.act-ico.red { background: var(--red-soft); color: var(--red); }
.act-ico svg { width: 15px; height: 15px; }
.act-main { min-width: 0; flex: 1; }
.act-main b { display: block; font-size: 12.5px; font-weight: 600; }
.act-main span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); }
.act-amount { text-align: right; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.act-amount span { display: block; margin-top: 2px; font-size: 10px; font-weight: 500; color: var(--muted); }

/* Packs in app */
.app-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-pack {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: 0.2s ease;
}
.app-pack:hover { border-color: var(--p-200); box-shadow: var(--shadow-sm); }
.app-pack.featured { border-color: var(--p-300); background: linear-gradient(180deg, #fcfaff, #fff 45%); }
.app-pack .ap-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.app-pack .ap-price { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.05em; margin-top: 12px; line-height: 1; }
.app-pack .ap-price small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.app-pack .ap-roi { margin-top: 9px; font-size: 12px; color: var(--green); font-weight: 700; }
.app-pack .ap-specs { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.app-pack .ap-spec { display: flex; justify-content: space-between; gap: 10px; font-size: 11.8px; }
.app-pack .ap-spec span { color: var(--muted); }
.app-pack .ap-spec b { font-weight: 600; }
.app-pack .btn { margin-top: 18px; }

/* Deposit address + checkout */
.deposit-address-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(196, 181, 253, 0.35), transparent 65%),
    linear-gradient(150deg, #fbf8ff, #f5efff);
  border: 1px solid var(--p-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 18px;
}
.deposit-address-card.compact {
  padding: 18px 20px;
  align-items: flex-start;
}
.deposit-address-card.compact .dac-addr { font-size: 13px; }
.dac-qr {
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.dac-qr img {
  width: 158px;
  height: 158px;
  border-radius: 8px;
  image-rendering: pixelated;
}
.dac-body { min-width: 0; flex: 1; }
.dac-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--p-600);
}
.dac-addr {
  margin-top: 7px;
  background: #fff;
  border: 1px dashed var(--p-200);
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.5;
}
.dac-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.dac-hint {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
}
.dac-hint b { color: var(--ink-2); }

.pending-line {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #92400e;
  opacity: 0.9;
}

.qr-large {
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  image-rendering: pixelated;
  max-width: 100%;
  height: auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 172px 1fr;
  gap: 18px;
  align-items: start;
}
.checkout-qr {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px;
  box-shadow: var(--shadow-xs);
}
.checkout-qr img {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 7px;
  image-rendering: pixelated;
}
.checkout-qr span {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.checkout-pay { min-width: 0; }
.checkout-amount {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--p-800);
  line-height: 1.15;
  word-break: break-all;
}
.checkout-amount small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.checkout-usd { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.checkout-copy { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }

/* Forms in app */
.form-grid { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.form-group .sub { display: block; font-size: 10.8px; color: var(--muted-2); margin-top: 5px; }
.form-group .input { font-family: var(--font-sans); }
.form-group .input.mono { font-family: var(--font-mono); }
.input-group { position: relative; }
.input-group .suffix {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}
.input-group .input { padding-right: 48px; }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border-radius: 13px;
  font-size: 12.8px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.notice b { font-weight: 700; }
.notice-amber { background: var(--amber-soft); border: 1px solid #ffe3b8; color: #92400e; }
.notice-purple { background: var(--p-50); border: 1px solid var(--p-100); color: var(--p-800); }
.notice-green { background: var(--green-soft); border: 1px solid #c9f0e1; color: #0a6b4b; }
.notice-red { background: var(--red-soft); border: 1px solid #ffd4dd; color: #b3163a; }

.balance-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  margin-top: 16px;
}
.balance-strip > div { background: #fff; padding: 12px 14px; }
.balance-strip span { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; }
.balance-strip b { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 620px;
}
table.data th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td {
  padding: 12px;
  border-bottom: 1px solid #f3effa;
  vertical-align: middle;
  color: var(--ink-2);
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background 0.13s ease; }
table.data tbody tr:hover { background: #fcfaff; }
table.data td b { color: var(--ink); font-weight: 600; }
.td-addr { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }
.td-sub { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 2px; }
.td-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table-empty { padding: 34px 16px; text-align: center; color: var(--muted); font-size: 12.5px; }

/* Status */
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-locked { background: var(--amber-soft); color: var(--amber); }
.status-unlocked { background: #eef4ff; color: var(--blue); }
.status-paid { background: var(--green-soft); color: var(--green); }
.status-rejected { background: var(--red-soft); color: var(--red); }
.status-active { background: var(--green-soft); color: var(--green); }
.status-completed { background: #f3f1f8; color: var(--muted); }
.status-pending { background: var(--amber-soft); color: var(--amber); }

/* Admin specifics */
.admin-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  background: linear-gradient(120deg, #fbf8ff, #f4eeff);
  border: 1px solid var(--p-100);
  border-radius: var(--radius);
  padding: 15px 18px;
  margin-bottom: 18px;
}
.admin-banner .ab-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #a78bfa, #6d28d9);
  color: #fff;
  flex: none;
}
.admin-banner .ab-icon svg { width: 18px; height: 18px; }
.admin-banner b { font-size: 13px; }
.admin-banner p { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.admin-banner .badge { margin-left: auto; }

.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}
.filter-tab:hover { border-color: var(--p-200); color: var(--p-700); }
.filter-tab.active { background: var(--p-700); border-color: var(--p-700); color: #fff; }

.search-box { position: relative; }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted-2); }
.search-box input {
  height: 36px;
  width: 230px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0 12px 0 33px;
  font-size: 12px;
  outline: none;
  font-family: var(--font-sans);
}
.search-box input:focus { border-color: var(--p-300); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1); }

.admin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 16px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }

.hbar-list { display: grid; gap: 13px; }
.hbar-row { display: grid; gap: 6px; }
.hbar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.8px; }
.hbar-top .left { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 500; }
.hbar-top .val { color: var(--muted); font-size: 11px; font-weight: 600; }
.hbar-top .flag { font-size: 13px; line-height: 1; }
.hbar-track { height: 7px; border-radius: 99px; background: #f4f0fb; overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, #7c3aed); transition: width 0.7s ease; }

.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut-visual { position: relative; width: 132px; height: 132px; flex: none; }
.donut-visual svg { display: block; }
.chart-empty {
  min-height: 170px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: #fcfaff;
  padding: 16px;
  text-align: center;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.donut-center b { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.donut-center span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.donut-legend { display: grid; gap: 8px; flex: 1; min-width: 0; }
.dl-item { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); }
.dl-item .dot { width: 7px; height: 7px; border-radius: 3px; flex: none; }
.dl-item .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-item b { color: var(--ink); font-weight: 600; }

.mini-kpi { display: flex; gap: 20px; flex-wrap: wrap; }
.mini-kpi > div span { display: block; font-size: 10.5px; color: var(--muted); }
.mini-kpi > div b { display: block; margin-top: 3px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }

/* Withdrawal rows in admin */
.wd-addr { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.wd-amount { font-weight: 700; color: var(--ink); }
.wd-usd { font-size: 10.5px; color: var(--muted); margin-top: 1px; }

/* Modal extras */
.modal-title { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.modal-sub { margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.modal-body { margin-top: 20px; }
.modal-actions { display: flex; gap: 9px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.summary-box {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fcfaff;
}
.summary-box .sb-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.summary-box .sb-row:last-child { border-bottom: 0; }
.summary-box .sb-row span { color: var(--muted); }
.summary-box .sb-row b { font-weight: 600; }
.summary-box .sb-row.total { background: var(--p-50); }
.summary-box .sb-row.total b { color: var(--p-700); font-size: 14px; }

/* Toasts */
.toast-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: grid;
  gap: 9px;
  max-width: 360px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--p-950);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px -14px rgba(20, 8, 45, 0.6);
  font-size: 12.5px;
  line-height: 1.5;
  animation: toastIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.out { animation: toastOut 0.22s ease forwards; }
.toast svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: #c4b5fd; }
.toast.success svg { color: #6ee7b7; }
.toast.error svg { color: #fda4af; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }

/* Loading */
.loading-screen {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}
.loading-screen .spinner {
  border-color: var(--p-100);
  border-top-color: var(--p-600);
  width: 26px;
  height: 26px;
  border-width: 3px;
  margin: 0 auto 12px;
}

/* ---------------------------------------------------------------- */
/* Responsive                                                       */
/* ---------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 38px; }
  .float-card.one { right: -8px; }
  .float-card.two { left: -10px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-main { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero { padding-top: 54px; }
  .hero-visual { max-width: 500px; margin: 0 auto; width: 100%; }
  .hero-sub { max-width: 560px; }
  .steps { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .app-packs { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { transform: translateX(-102%); transition: transform 0.24s ease; box-shadow: 0 0 60px rgba(27, 10, 56, 0.2); }
  .sidebar.open { transform: none; }
  .sidebar-scrim.open { display: block; }
  .app-main { margin-left: 0; }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 0 20px; }
  .app-content { padding: 22px 20px 50px; }
  .grid-two { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav { height: 66px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn { height: 40px; padding: 0 14px; font-size: 13px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-sub { font-size: 15.5px; }
  .trust-bar { grid-template-columns: 1fr 1fr; gap: 20px 0; padding: 22px 6px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item b { font-size: 21px; }
  .float-card { display: none; }
  .rig-card { padding: 20px; }
  .rig-balance strong { font-size: 32px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; border-radius: 22px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .stat-grid { grid-template-columns: 1fr; }
  .view-head { align-items: flex-start; }
  .addr-chip .full { max-width: 150px; }
  .form-row { grid-template-columns: 1fr; }
  .balance-strip { grid-template-columns: 1fr; }
  .admin-grid-3 { grid-template-columns: 1fr; }
  .donut-wrap { flex-direction: column; align-items: stretch; }
  .donut-svg { margin: 0 auto; }
  .search-box input { width: 100%; }
  .topbar-title p { display: none; }
  .price-chip { padding: 0 9px; font-size: 11px; }
  .topbar { gap: 8px; }
  .topbar-avatar { display: none; }
  .modal-card { padding: 26px 22px; border-radius: 20px; }
  .deposit-address-card { flex-direction: column; align-items: stretch; text-align: left; }
  .dac-qr { align-self: center; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-qr img { width: 170px; height: 170px; }
  .toast-root { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ---------------------------------------------------------------- */
/* Sponsored placements                                              */
/* ---------------------------------------------------------------- */

.ad-frame {
  width: 300px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.ad-frame > div[id^="adslab-"] {
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfaff;
}

.ad-label {
  display: block;
  padding: 7px 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: #fbfaff;
  border-bottom: 1px solid var(--line);
}

/* In-flow ad under a section's cards */
.ad-inline-row {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Hero: ad tucked under the rig card */
.hero-ad {
  position: relative;
  z-index: 2;
  margin: 20px auto 0;
}

.hero-visual.has-ad .float-card.two { display: none; }

/* Why section: features beside a tall sponsored rail */
.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
.why-layout .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why-rail { position: sticky; top: 24px; }

/* FAQ: answers beside a tall sponsored rail */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 300px;
  gap: 24px;
  justify-content: center;
  align-items: start;
}
.faq-layout .faq-wrap { max-width: none; margin: 0; }
.faq-rail { position: sticky; top: 24px; }

/* Dashboard: content column plus sponsored rail */
.app-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 32px 60px;
}
.app-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.app-body .app-content {
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
}
.app-rail {
  width: 300px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.content-ad-top { justify-content: flex-end; margin-top: 0; }
.content-ad-bottom { justify-content: flex-start; margin-top: 0; }

@media (max-width: 1180px) {
  .why-layout,
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .why-layout .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-rail,
  .faq-rail { position: static; display: flex; justify-content: center; }
}

@media (max-width: 1100px) {
  .app-body { flex-direction: column; padding: 22px 20px 50px; }
  .app-rail {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    order: 2;
  }
  .app-col { width: 100%; }
}

@media (max-width: 760px) {
  .why-layout .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .ad-inline-row { margin-top: 26px; }
  .ad-frame { max-width: 100%; }
}
