:root {
  --staffiva-primary: #6d30a7;
  --staffiva-primary-hover: #7f3dd1;
  --staffiva-primary-soft: rgba(109, 48, 167, 0.15);
  --staffiva-bg: #0f0f14;
  --staffiva-section: #16161d;
  --staffiva-card: #1c1c25;
  --staffiva-text: #f5f5f7;
  --staffiva-text-secondary: #b3b3c0;
  --staffiva-text-muted: #7a7a8c;
  --staffiva-border: #2a2a35;
  --staffiva-divider: #23232d;
  --staffiva-glow: rgba(109, 48, 167, 0.4);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.staffiva-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(109, 48, 167, 0.24), transparent 30%),
    linear-gradient(180deg, #13131b 0%, var(--staffiva-bg) 22%, #101017 100%);
  color: var(--staffiva-text-secondary);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  color: inherit;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem rgba(15, 15, 20, 0.85), 0 0 0 0.25rem rgba(109, 48, 167, 0.45);
}

.landing-page {
  position: relative;
}

.hero-section,
.content-section,
.landing-footer {
  position: relative;
}

.mockup-section {
  padding: 3rem 0 4rem;
}

.mockup-heading {
  max-width: 42rem;
}

.mockup-subhead {
  color: var(--staffiva-text-secondary);
  font-size: 1.05rem;
}

.mockup-tabs {
  flex-wrap: wrap;
}

.mockup-tab {
  background: transparent;
  border: 1px solid var(--staffiva-border);
  border-radius: 999px;
  color: var(--staffiva-text-muted);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease,
              background-color 0.2s ease, box-shadow 0.2s ease;
}

.mockup-tab:hover {
  border-color: rgba(109, 48, 167, 0.45);
  color: var(--staffiva-text);
}

.mockup-tab.active {
  border-color: var(--staffiva-primary);
  background: rgba(109, 48, 167, 0.14);
  color: var(--staffiva-text);
  box-shadow: 0 0 0 0.1rem rgba(15, 15, 20, 0.85),
              0 0 0 0.2rem rgba(109, 48, 167, 0.25);
}

.mockup-frame-wrap {
  border: 1px solid var(--staffiva-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(109, 48, 167, 0.15),
    0 0 60px rgba(109, 48, 167, 0.08);
  max-width: 960px;
  margin: 0 auto;
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: #16161d;
  border-bottom: 1px solid var(--staffiva-divider);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--staffiva-border);
  display: inline-block;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-img-wrap {
  overflow: hidden;
  line-height: 0;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-panel {
  display: none;
}

.mockup-panel.active {
  display: block;
}

.hero-section {
  border-bottom: 1px solid var(--staffiva-divider);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.hero-glow-one {
  top: 3rem;
  right: 10%;
  width: 15rem;
  height: 15rem;
  background: rgba(109, 48, 167, 0.2);
}

.hero-glow-two {
  bottom: 5rem;
  left: -3rem;
  width: 11rem;
  height: 11rem;
  background: rgba(127, 61, 209, 0.14);
}

.landing-nav {
  position: relative;
  z-index: 1;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(109, 48, 167, 0.35);
  background: rgba(109, 48, 167, 0.12);
  color: #d4b7f6;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-title {
  line-height: 1.05;
  max-width: 12ch;
}

.hero-copy,
.section-copy,
.cta-note,
.hero-proof-line,
.platform-strip-label,
.feature-card p,
.step-card p,
.footer-copy,
.snapshot-text,
.waitlist-placeholder p,
.waitlist-referral-note {
  color: var(--staffiva-text-secondary);
}

.hero-copy,
.section-copy {
  max-width: 44rem;
  font-size: 1.125rem;
}

.cta-note {
  max-width: 22rem;
  font-size: 0.95rem;
}

.hero-proof-line,
.platform-strip-label,
.waitlist-referral-note {
  color: var(--staffiva-text-muted);
  font-size: 0.95rem;
}

.hero-proof-line {
  margin-top: 0.9rem;
}

.btn-primary {
  background-color: var(--staffiva-primary);
  border-color: var(--staffiva-primary);
  box-shadow: 0 0 24px rgba(109, 48, 167, 0.28);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--staffiva-primary-hover);
  border-color: var(--staffiva-primary-hover);
}

.btn-outline-light {
  border-color: rgba(245, 245, 247, 0.18);
  color: var(--staffiva-text);
}

.btn-outline-light:hover {
  background-color: rgba(245, 245, 247, 0.08);
  border-color: rgba(245, 245, 247, 0.28);
  color: var(--staffiva-text);
}

.platform-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 245, 247, 0.1);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.platform-logo-pill:hover {
  border-color: rgba(109, 48, 167, 0.5);
  background: rgba(109, 48, 167, 0.08);
}

.platform-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.brand-logo-img {
  height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo-footer {
  height: 24px;
  opacity: 0.85;
}

.hero-panel,
.feature-card,
.step-card,
.vision-panel,
.waitlist-panel,
.waitlist-embed-shell {
  border: 1px solid var(--staffiva-border);
  background: linear-gradient(180deg, rgba(29, 29, 38, 0.96), rgba(22, 22, 29, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-panel,
.vision-panel,
.waitlist-panel {
  border-radius: 1.5rem;
}

.hero-panel {
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--staffiva-divider);
  background: rgba(255, 255, 255, 0.02);
  color: var(--staffiva-text);
  font-size: 0.95rem;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #b97bff;
  box-shadow: 0 0 0.9rem rgba(185, 123, 255, 0.8);
}

.hero-panel-body {
  padding: 1.25rem;
}

.snapshot-item + .snapshot-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--staffiva-divider);
}

.snapshot-label,
.card-kicker {
  margin-bottom: 0.5rem;
  color: #d4b7f6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snapshot-text {
  margin-bottom: 0;
}

.section-heading {
  max-width: 44rem;
}

.content-section {
  padding-top: 1rem;
}

.section-muted {
  background: linear-gradient(180deg, rgba(22, 22, 29, 0.72), rgba(15, 15, 20, 0));
}

.feature-card,
.step-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(28, 28, 37, 0.96), rgba(22, 22, 29, 0.96)),
    var(--staffiva-card);
}

.feature-card:hover,
.step-card:hover,
.waitlist-embed-shell:hover {
  border-color: rgba(109, 48, 167, 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32), 0 0 28px rgba(109, 48, 167, 0.12);
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: #d4b7f6;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.vision-panel,
.waitlist-panel {
  padding: 2rem;
  background:
    radial-gradient(circle at top center, rgba(109, 48, 167, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(28, 28, 37, 0.96), rgba(22, 22, 29, 0.96));
}

.vision-panel {
  max-width: 52rem;
}

.waitlist-panel {
  max-width: 48rem;
}

.waitlist-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.perk-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--staffiva-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--staffiva-text);
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  line-height: 1.3;
}

.waitlist-referral-note {
  margin: 0 0 1rem;
}

.waitlist-price-highlight {
  color: #b97bff;
  font-weight: 600;
}

.waitlist-embed-shell {
  padding: 1.25rem;
  border-radius: 1rem;
  background-color: rgba(15, 15, 20, 0.75);
}

.waitlist-fields {
  display: grid;
  gap: 1rem;
}

.waitlist-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.waitlist-label {
  color: var(--staffiva-text);
  font-size: 0.9rem;
  font-weight: 500;
}

.waitlist-required {
  color: #b97bff;
}

.waitlist-input {
  background: rgba(15, 15, 20, 0.85);
  border: 1px solid var(--staffiva-border);
  border-radius: 0.75rem;
  color: var(--staffiva-text);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  outline: none;
}

.waitlist-input::placeholder {
  color: var(--staffiva-text-muted);
}

.waitlist-input:focus {
  border-color: var(--staffiva-primary);
  box-shadow: 0 0 0 0.1rem rgba(15, 15, 20, 0.85),
              0 0 0 0.2rem rgba(109, 48, 167, 0.3);
}

.waitlist-input-error {
  border-color: #e24b4a !important;
}

.waitlist-error {
  color: #e24b4a;
  font-size: 0.82rem;
  min-height: 1rem;
}

.waitlist-form-note {
  color: var(--staffiva-text-muted);
  font-size: 0.8rem;
  text-align: center;
}

.waitlist-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wl-spin 0.7s linear infinite;
  vertical-align: middle;
}

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

.waitlist-success-inner,
.waitlist-error-inner {
  padding: 1.5rem 1rem;
}

.waitlist-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(109, 48, 167, 0.2);
  border: 1px solid rgba(109, 48, 167, 0.5);
  color: #b97bff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.waitlist-success-position {
  color: var(--staffiva-text-secondary);
  font-size: 1rem;
}

.waitlist-success-position strong {
  color: #b97bff;
}

.waitlist-success-sub {
  color: var(--staffiva-text-muted);
  font-size: 0.9rem;
}

.landing-footer {
  border-top: 1px solid var(--staffiva-divider);
}

.legal-panel {
  max-width: 52rem;
}

.legal-meta {
  color: var(--staffiva-text-muted);
  font-size: 0.9rem;
}

.legal-body h2 {
  color: var(--staffiva-text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-body p,
.legal-body li {
  color: var(--staffiva-text-secondary);
  font-size: 0.975rem;
  line-height: 1.75;
}

.legal-body ul {
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.legal-body a {
  color: #b97bff;
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: var(--staffiva-text-muted);
}

.footer-link {
  color: var(--staffiva-text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--staffiva-text);
}

@media (max-width: 991.98px) {
  .hero-title {
    max-width: none;
    font-size: clamp(2.6rem, 9vw, 4.2rem);
  }
}

@media (max-width: 767.98px) {
  .mockup-section {
    padding: 2rem 0 3rem;
  }

  .mockup-frame-wrap {
    border-radius: 0.875rem;
  }

  .hero-copy,
  .section-copy {
    font-size: 1rem;
  }

  .hero-panel,
  .vision-panel,
  .waitlist-panel {
    border-radius: 1.25rem;
  }

  .feature-card,
  .step-card,
  .vision-panel,
  .waitlist-panel,
  .waitlist-embed-shell {
    padding: 1.25rem;
  }
}
