:root {
  --bg: #060907;
  --bg-soft: #0b120f;
  --card: rgba(14, 22, 17, 0.8);
  --line: rgba(164, 255, 69, 0.25);
  --txt: #e8ffe1;
  --muted: #9fba97;
  --acid: #b8ff4f;
  --acid-2: #7fe62a;
  --danger: #ff7a63;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--txt);
  background: radial-gradient(circle at 12% 18%, rgba(151, 255, 68, 0.18), transparent 35%),
              radial-gradient(circle at 88% 80%, rgba(93, 237, 58, 0.14), transparent 32%),
              linear-gradient(160deg, #040706 0%, #0a130f 52%, #060907 100%);
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(184, 255, 79, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(184, 255, 79, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  width: 32vw;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(44px);
  pointer-events: none;
  z-index: -1;
  animation: drift 12s ease-in-out infinite;
}

.orb-1 {
  top: -8%;
  left: -5%;
  background: rgba(167, 255, 71, 0.24);
}

.orb-2 {
  right: -6%;
  bottom: -10%;
  background: rgba(92, 219, 46, 0.22);
  animation-delay: 1.6s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -12px) scale(1.08); }
}

.compact-center {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: min(940px, calc(100% - 24px));
  margin: 0 auto;
}

a,
button,
.btn,
.chip-btn {
  pointer-events: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 4px 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0.06em;
  font-size: 16px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.logo-spin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--acid);
  animation: spin 7s linear infinite;
}

.spin,
.spin-rev {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px dashed rgba(184, 255, 79, 0.5);
}

.spin {
  animation: spin 5s linear infinite;
}

.spin-rev {
  animation: spin-rev 6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-rev {
  to { transform: rotate(-360deg); }
}

.glass {
  background: linear-gradient(145deg, rgba(14, 23, 17, 0.85), rgba(8, 14, 11, 0.76));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(191, 255, 115, 0.06),
              0 16px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.hero,
.plans,
.explain,
.profile-panel,
.control-panel,
.payment-panel,
.onboarding-panel {
  padding: 20px;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.onboarding-step {
  border-radius: 14px;
  border: 1px solid rgba(184, 255, 79, 0.2);
  padding: 12px;
  background: rgba(10, 17, 12, 0.7);
}

.onboarding-step h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.onboarding-step.done {
  border-color: rgba(184, 255, 79, 0.6);
  box-shadow: inset 0 0 0 1px rgba(184, 255, 79, 0.16);
}

.onboarding-step.active {
  border-color: rgba(184, 255, 79, 0.38);
}

.on-num {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  color: #17300d;
  background: var(--acid);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
}

.hero {
  margin-top: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--acid);
  font-size: 12px;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1.2;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 14px;
}

.hero-copy,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.hero-actions,
.selector-row,
.mini-links,
.top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions {
  margin-top: 14px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--txt);
  text-decoration: none;
  background: rgba(20, 31, 24, 0.9);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(192, 255, 124, 0.56);
}

.btn.primary {
  color: #17220d;
  background: linear-gradient(100deg, var(--acid), #ddff9f, var(--acid-2));
  background-size: 200% 200%;
  animation: flow 4s ease infinite;
  border: none;
}

@keyframes flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn.ghost {
  background: rgba(14, 21, 17, 0.78);
}

.chips {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chips span,
.chip-btn {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(184, 255, 79, 0.3);
  background: rgba(12, 18, 14, 0.8);
  color: #bde5ad;
  font-size: 12px;
}

.chip-btn {
  cursor: pointer;
}

.chip-btn.active {
  color: #13200c;
  background: var(--acid);
  border-color: transparent;
}

.plans,
.explain {
  margin-top: 16px;
}

.plan-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.plan-card {
  border-radius: 14px;
  border: 1px solid rgba(184, 255, 79, 0.22);
  padding: 12px;
  background: rgba(10, 17, 12, 0.78);
}

.price {
  margin: 8px 0 2px;
  font-size: 22px;
  color: var(--acid);
  font-weight: 800;
}

.days,
.hint,
.small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.step {
  border: 1px solid rgba(184, 255, 79, 0.16);
  border-radius: 12px;
  padding: 12px;
  background: rgba(11, 18, 13, 0.74);
  display: grid;
  gap: 8px;
}

.dashboard-layout {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  grid-template-columns: 1fr;
  padding-bottom: 24px;
}

.badge {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge.ok {
  color: #1b2d11;
  background: var(--acid);
}

.badge.warn {
  color: #33170e;
  background: #ffc07f;
}

.apps-list {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.app-card {
  border: 1px solid rgba(184, 255, 79, 0.2);
  border-radius: 12px;
  padding: 12px;
  background: rgba(10, 17, 12, 0.72);
}

.app-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.app-desc {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.app-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.code-pill {
  background: #0a100c;
  border: 1px solid rgba(184, 255, 79, 0.24);
  padding: 8px;
  border-radius: 10px;
  color: #d9ffc5;
  font-size: 11px;
  word-break: break-all;
}

@media (min-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 0.9fr 1.2fr 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-title {
    font-size: 14px;
  }
}
