:root {
  --bg-dark: #050714;
  --glass-bg: rgba(17, 25, 40, 0.78);
  --glass-border: rgba(255, 255, 255, 0.12);
  --accent: #f72585;
  --accent-soft: rgba(247, 37, 133, 0.35);
  --accent-2: #4cc9f0;
  --text-main: #f5f7ff;
  --text-muted: #a3b0d0;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);
  --radius-lg: 20px;
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.dark-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, #1b1534, #050714 60%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background orbs */
.bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, #f72585 0, transparent 55%),
              radial-gradient(circle at 100% 100%, #4361ee 0, transparent 60%);
  opacity: 0.25;
  pointer-events: none;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
  animation: float 14s ease-in-out infinite alternate;
}

.orb-1 {
  top: 8%;
  left: 10%;
  background: #f72585;
}
.orb-2 {
  top: 60%;
  right: 12%;
  background: #4cc9f0;
  animation-delay: 2s;
}
.orb-3 {
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  background: #7209b7;
  animation-delay: 4s;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(20px, -30px, 0) scale(1.06);
  }
}

/* Glass helper */
.glass {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

/* Header */
.main-header {
  position: sticky;
  top: 12px;
  margin: 12px auto 0;
  max-width: 1100px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.logo span {
  color: var(--accent);
}

.nav-links a {
  color: var(--text-muted);
  margin: 0 10px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav-links a:hover {
  color: var(--text-main);
}

.header-cta .btn {
  margin-left: 8px;
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #f72585, #7209b7);
  color: #fff;
  box-shadow: 0 9px 22px rgba(247, 37, 133, 0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(247, 37, 133, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent-2);
}
.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-ghost {
  background: rgba(12, 16, 39, 0.7);
  color: var(--text-main);
}
.btn-ghost:hover {
  background: rgba(17, 25, 56, 0.9);
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.hero-content h1 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.hero-content p {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 18px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
}
.online-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
}

/* Hero preview card */
.hero-preview {
  position: relative;
}
.preview-card {
  padding: 14px 14px 16px;
  position: relative;
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}
.preview-body {
  margin-top: 12px;
}
.user-pill {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
}
.avatar-male {
  background: linear-gradient(135deg, #4cc9f0, #4361ee);
}
.avatar-female {
  background: linear-gradient(135deg, #f72585, #ff9e00);
}
.user-name {
  font-size: 0.88rem;
}
.user-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.earning {
  color: #4ade80;
}
.preview-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.btn-pill {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
}
.pill-red {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
}
.pill-green {
  background: rgba(45, 212, 191, 0.15);
  color: #a7f3d0;
}

/* Floating notification */
.floating-card {
  position: absolute;
  right: -10px;
  bottom: -18px;
  padding: 8px 12px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tiny-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto 26px;
  padding: 18px 24px 24px;
}
.section h2 {
  margin-top: 0;
  margin-bottom: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card,
.testimonial {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(11, 16, 43, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  font-size: 0.9rem;
}
.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.feature-card p,
.testimonial p {
  margin: 0;
  color: var(--text-muted);
}
.testimonial span {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--accent-2);
}

/* Plan grid */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.plan-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(8, 12, 33, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.plan-card h3 {
  margin: 0 0 8px;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.plan-card li {
  margin-bottom: 4px;
}

/* Footer */
.main-footer {
  max-width: 1100px;
  margin: 18px auto 26px;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.main-footer a {
  color: var(--text-muted);
  margin-left: 10px;
  text-decoration: none;
}
.main-footer a:hover {
  color: var(--text-main);
}