:root {
  --bg: #02040a;
  --bg-elevated: #070a10;
  --accent: #1db954;
  --accent-soft: rgba(29, 185, 84, 0.2);
  --danger: #ff4e5c;
  --text-main: #f7f8ff;
  --text-sub: #9ba4c4;
  --border-subtle: #1b2130;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-main: 0 26px 70px rgba(0, 0, 0, 0.9);
  --transition-fast: 0.2s ease-out;
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  background: radial-gradient(circle at 10% 0, #07361f 0, #02040a 55%, #000 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Background layer */

.background-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 0, #0a4225 0, #02040a 60%, #000 100%);
}

.africa-map {
  position: absolute;
  inset: 10% 8% auto auto;
  width: 360px;
  max-width: 45vw;
  background: url("../assets/svg/africa-map.svg") center/contain no-repeat;
  opacity: 0.09;
  filter: drop-shadow(0 0 22px rgba(0, 255, 120, 0.4));
  animation: floatSlow 16s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -10px, 0);
  }
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 120, 0.7), transparent 70%);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.particle-1 {
  width: 180px;
  height: 180px;
  left: 6%;
  top: 18%;
  animation: drift1 22s linear infinite alternate;
}
.particle-2 {
  width: 120px;
  height: 120px;
  right: 15%;
  top: 60%;
  animation: drift2 18s linear infinite alternate;
}
.particle-3 {
  width: 90px;
  height: 90px;
  left: 22%;
  bottom: 10%;
  animation: drift3 24s linear infinite alternate;
}
.particle-4 {
  width: 70px;
  height: 70px;
  right: 30%;
  bottom: 18%;
  animation: drift1 26s linear infinite alternate;
}

@keyframes drift1 {
  from {
    transform: translate3d(-10px, 0, 0);
  }
  to {
    transform: translate3d(20px, -10px, 0);
  }
}
@keyframes drift2 {
  from {
    transform: translate3d(10px, 0, 0);
  }
  to {
    transform: translate3d(-15px, 15px, 0);
  }
}
@keyframes drift3 {
  from {
    transform: translate3d(0, 10px, 0);
  }
  to {
    transform: translate3d(10px, -10px, 0);
  }
}

/* Watermark */

.jobrila-watermark-text {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-weight: 700;
  font-size: 26px;
  opacity: 0.03;
  color: #00ff80;
  text-align: center;
  pointer-events: none;
}

.jobrila-watermark-logo {
  position: fixed;
  bottom: 18px;
  left: 20px;
  opacity: 0.25;
  animation: logoPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.jobrila-watermark-logo img {
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 128, 0.7));
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* Layout shell */

.page-shell {
  position: relative;
  z-index: 5;
  max-width: 1120px;
  margin: 40px auto 90px;
  padding: 0 18px;
}

/* HERO GLOW WRAPPER */

.hero-wrapper {
  position: relative;
  padding: 2px;
  border-radius: 26px;
  background:
    linear-gradient(90deg,
      rgba(0, 255, 128, 0.9) 0%,
      rgba(0, 255, 128, 0.25) 25%,
      rgba(0, 180, 110, 0.14) 50%,
      rgba(0, 255, 128, 0.25) 75%,
      rgba(0, 255, 128, 0.9) 100%);
  box-shadow:
    0 0 40px rgba(0, 255, 128, 0.4),
    0 40px 80px rgba(0, 0, 0, 0.9);
}

.hero-inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 15% 0, #06361f 0, #050a12 40%, #030309 100%);
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: repeating-linear-gradient(
    120deg,
    rgba(0, 255, 150, 0.05) 0,
    rgba(0, 255, 150, 0.05) 2px,
    transparent 2px,
    transparent 8px
  );
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: raysMove 18s linear infinite;
}

.hero-inner::after {
  content: "";
  position: absolute;
  inset: 40% 10% 0;
  background: radial-gradient(circle at 50% -10%, rgba(0, 255, 140, 0.35), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}

@keyframes raysMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-80px, -40px, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 22px 22px;
}

/* Top bar */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-cover {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  margin-bottom: 4px;
}

header h1 {
  margin: 0;
  font-size: 26px;
}

.subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-sub);
  max-width: 460px;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.icon-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 12, 0.9);
  color: var(--text-main);
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast);
}
.icon-pill:hover {
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}
.audio-pill.playing {
  color: var(--accent);
}

/* Grid */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 18px;
}

/* Panels */

.panel {
  background: radial-gradient(circle at top left, #101722 0, #05070b 55%, #030409);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-main);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -60px -60px auto auto;
  background: radial-gradient(circle, rgba(0, 255, 120, 0.08), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.panel h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.main-copy p {
  font-size: 14px;
  color: var(--text-sub);
}

.benefits {
  padding-left: 18px;
  margin: 10px 0 14px;
  font-size: 13px;
  color: var(--text-sub);
}
.benefits li {
  margin-bottom: 5px;
}

.cta-stack {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #1db954, #14a846);
  color: #020305;
  box-shadow: 0 10px 25px rgba(16, 185, 85, 0.55);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(16, 185, 85, 0.7);
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-main);
}
.btn.ghost:hover {
  background: rgba(15, 18, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.28);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.link-btn {
  font-size: 12px;
  padding: 7px 14px;
}

.agreement-note {
  margin-top: 6px;
  font-size: 11px;
  color: #7d859e;
}

/* Featured artists */

.featured-artists {
  margin-top: 16px;
}
.featured-artists h3 {
  font-size: 13px;
  margin: 0 0 6px;
  color: #d9def8;
}
.artist-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.artist-strip span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 17, 24, 0.9);
  border: 1px solid rgba(130, 161, 255, 0.18);
}

/* Preview panel */

.preview-panel h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.listening-visual {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(3, 6, 11, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(29, 185, 84, 0.25);
}

.pulse-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #1db954, #0a7a37);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(29, 185, 84, 0.7);
  animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

#listeningText {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

.spotify-preview {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(41, 45, 61, 0.9);
  background: linear-gradient(135deg, rgba(12, 19, 24, 0.98), rgba(3, 5, 8, 0.94));
}
.spotify-preview.invalid {
  border-color: rgba(255, 78, 92, 0.8);
}
.spotify-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 6px;
}
.spotify-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #1db954, #0c7a3a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #021105;
}
.spotify-helper {
  margin: 0;
  font-size: 12px;
  color: var(--text-sub);
}

.spotify-embed-wrapper {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(37, 49, 82, 0.9);
}
.spotify-embed-wrapper iframe {
  width: 100%;
  height: 80px;
  border: 0;
}

.info-note {
  margin-top: 14px;
  font-size: 11px;
  color: #8a94b5;
}

/* Modal */

.hidden {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  z-index: 999;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: #05070c;
  border-radius: 18px;
  border: 1px solid rgba(110, 150, 255, 0.26);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.96);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  animation: modalFadeIn 0.22s ease-out;
}

.modal-card.small {
  max-width: 420px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(26, 32, 49, 0.9);
}

.step-count {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #7d88aa;
  margin: 0 0 2px;
}

.modal-header h2 {
  margin: 0;
  font-size: 16px;
}

.close-btn {
  border-radius: 999px;
  border: 1px solid rgba(104, 118, 153, 0.6);
  background: rgba(6, 8, 12, 0.9);
  color: var(--text-sub);
  padding: 4px 8px;
  cursor: pointer;
  font-size: 11px;
}
.close-btn:hover {
  border-color: rgba(204, 214, 255, 0.9);
  color: #eef1ff;
}

.step-dots {
  display: flex;
  gap: 4px;
  padding: 6px 18px 4px;
}
.step-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #202636;
  opacity: 0.7;
}
.step-dots .dot.active {
  background: var(--accent);
  opacity: 1;
}

.modal-body {
  padding: 12px 18px 6px;
  overflow-y: auto;
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 12px;
  color: #cfd5ff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

input,
textarea,
select {
  border-radius: 999px;
  border: 1px solid rgba(63, 76, 109, 0.8);
  background: rgba(7, 9, 16, 0.94);
  color: var(--text-main);
  padding: 8px 11px;
  font-size: 13px;
  outline: none;
}
textarea {
  border-radius: 14px;
  resize: vertical;
  min-height: 70px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(29, 185, 84, 0.4);
}

.checkbox-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 4px;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.review-box {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(110, 150, 255, 0.6);
  font-size: 12px;
  color: var(--text-sub);
}
.review-box h3 {
  margin: 0 0 4px;
  font-size: 13px;
}

/* Track preview */

.track-preview {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 20, 28, 0.95);
  border: 1px solid rgba(29, 185, 84, 0.3);
  display: flex;
  gap: 12px;
  align-items: center;
}

.preview-cover {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.preview-info h4 {
  margin: 0;
  font-size: 15px;
  color: #e8faff;
}
.preview-info p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9bbccc;
}
.preview-meta {
  font-size: 11px;
  color: #8fa0c0;
}

/* Modal footer */

.modal-footer {
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(26, 32, 49, 0.9);
  background: rgba(3, 4, 9, 0.95);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* Toast */

.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  background: #101522;
  color: #e5ebff;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(120, 145, 236, 0.8);
  font-size: 12px;
  z-index: 9999;
}

/* Chat bubble */

.chat-bubble {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle, #1db954, #0e7f3c);
  color: #020304;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.85);
  z-index: 999;
}

.chat-panel {
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 260px;
  background: #05070d;
  border-radius: 16px;
  border: 1px solid rgba(109, 139, 245, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  z-index: 999;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 12px;
  border-bottom: 1px solid rgba(28, 35, 61, 0.9);
}
.chat-body {
  padding: 8px 10px 10px;
  font-size: 11px;
  color: var(--text-sub);
}

/* Bottom bar */

.bottom-bar {
  position: fixed;
  inset: auto 0 0 0;
  background: rgba(2, 5, 9, 0.98);
  border-top: 1px solid rgba(34, 46, 76, 0.9);
  display: none;
  justify-content: space-around;
  padding: 8px 10px 10px;
  z-index: 998;
}
.bottom-item {
  border-radius: 999px;
  border: none;
  padding: 7px 10px;
  font-size: 11px;
  color: #e5ecff;
  background: rgba(10, 14, 20, 0.95);
  cursor: pointer;
}
.bottom-item:nth-child(2) {
  background: linear-gradient(135deg, #1db954, #0f9a45);
  color: #020304;
}

/* Neon mode */

body.neon-mode {
  background: radial-gradient(circle at 15% 0, #022017 0, #000308 60%, #000 100%);
}
body.neon-mode .hero-inner {
  background: radial-gradient(circle at 15% 0, #053727 0, #040511 45%, #020107 100%);
}

/* Responsive */

@media (max-width: 880px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-shell {
    margin-top: 24px;
    margin-bottom: 96px;
  }
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-content {
    padding: 16px 14px 18px;
  }
  .bottom-bar {
    display: flex;
  }
}
