/* ==========================================================================
   MEEJOB 2026 visual refresh â€” "Midnight Champa"
   A deeper, more expressive layer on top of styles.css.
   The Dok Champa logo and wordmark are intentionally unchanged.
   ========================================================================== */

:root {
  --bg: #f7f5ff;
  --surface: #ffffff;
  --ink: #0c0e1a;
  --ink-2: #30344a;
  --muted: #676a7e;
  --line: #e9e5f3;
  --line-strong: #d9d3e8;

  --brand: #ff4d6d;
  --brand-dark: #e6365b;
  --brand-2: #ff8a5b;
  --brand-soft: #fff0f4;
  --brand-ring: rgba(255, 77, 109, 0.22);

  --gold: #ffc857;
  --gold-soft: #fff7de;
  --gold-ring: rgba(255, 200, 87, 0.28);

  --jade: #20c997;
  --jade-soft: #e8fbf4;
  --violet: #7c6cff;
  --violet-soft: #f0edff;
  --night: #080a17;
  --night-2: #10142a;
  --night-3: #181d3a;

  --font-display: "Sora", "Noto Sans Lao Looped", "Inter", system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(12, 14, 26, 0.04),
    0 8px 24px rgba(12, 14, 26, 0.05);
  --shadow-md: 0 18px 44px rgba(12, 14, 26, 0.1);
  --shadow-lg: 0 36px 90px rgba(12, 14, 26, 0.2);
  --container: 1180px;
  --nav-height: 74px;
}

html {
  background: var(--night);
}

body {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(124, 108, 255, 0.12), transparent 62%),
    radial-gradient(900px 520px at 96% 8%, rgba(255, 77, 109, 0.08), transparent 60%),
    var(--bg);
  color: var(--ink);
}

body::before {
  opacity: 0.022;
  filter: saturate(0.85);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

html[lang="lo"] h1,
html[lang="lo"] h2 {
  font-family: "Noto Sans Lao Looped", "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}

a:hover {
  color: var(--brand-dark);
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

nav {
  height: var(--nav-height);
  background: rgba(8, 10, 23, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

nav .logo,
nav .logo:hover {
  color: #fff;
}

nav .logo-accent {
  color: var(--brand-2);
}

nav .logo-mark {
  filter: drop-shadow(0 6px 14px rgba(255, 77, 109, 0.3));
}

nav .nav-links {
  gap: 26px;
}

nav .nav-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 600;
}

nav .nav-links a:hover {
  color: #fff;
}

nav .nav-links a::after {
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

nav .lang-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

nav .lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

nav #navUserName {
  color: rgba(255, 255, 255, 0.82);
}

nav .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
}

nav .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.mobile-menu-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 12px;
}

.mobile-menu {
  background: rgba(8, 10, 23, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.76);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mobile-menu-account {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.mobile-menu .lang-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ==========================================================================
   Buttons and small interactive pieces
   ========================================================================== */

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 999px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 10px 28px rgba(255, 77, 109, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff3d61 0%, #ff6a4a 100%);
  box-shadow: 0 14px 34px rgba(255, 77, 109, 0.38);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 77, 109, 0.34);
  color: var(--brand-dark);
}

.btn-outline:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn:focus-visible,
.job-filter:focus-visible,
.lang-toggle:focus-visible,
.mobile-menu-btn:focus-visible {
  outline: 3px solid var(--brand-ring);
  outline-offset: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 118px max(24px, 5vw) 138px;
  overflow: hidden;
  background:
    radial-gradient(1000px 560px at 14% 4%, rgba(255, 77, 109, 0.26), transparent 64%),
    radial-gradient(900px 560px at 86% 0%, rgba(124, 108, 255, 0.3), transparent 62%),
    radial-gradient(800px 480px at 50% 112%, rgba(32, 201, 151, 0.14), transparent 62%),
    linear-gradient(180deg, #080a17 0%, #0b0e1e 62%, #10142a 100%);
  border-bottom: 0;
}

.hero::before {
  opacity: 0.055;
  background-position: center 58%;
  background-size: min(420px, 52vw) auto;
  filter: saturate(0.8);
}

.hero-grid,
.hero-halo {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 32%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 32%, #000 0%, transparent 72%);
  opacity: 0.7;
}

.hero-halo {
  width: min(860px, 72vw);
  aspect-ratio: 1;
  right: -16%;
  top: -27%;
  border-radius: 50%;
  background: conic-gradient(
    from 90deg,
    rgba(255, 77, 109, 0) 0deg,
    rgba(255, 77, 109, 0.62) 72deg,
    rgba(255, 200, 87, 0.5) 145deg,
    rgba(124, 108, 255, 0.58) 230deg,
    rgba(32, 201, 151, 0.45) 305deg,
    rgba(255, 77, 109, 0) 360deg
  );
  -webkit-mask: radial-gradient(
    circle at center,
    transparent 0 58%,
    #000 58.4% 60.2%,
    transparent 60.6%
  );
  mask: radial-gradient(
    circle at center,
    transparent 0 58%,
    #000 58.4% 60.2%,
    transparent 60.6%
  );
  opacity: 0.42;
  filter: blur(1px);
  animation: meejob-halo-spin 42s linear infinite;
}

.hero-orb {
  filter: blur(42px);
  opacity: 0.55;
}

.hero-orb-a {
  width: 430px;
  height: 430px;
  top: 8%;
  left: -12%;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.58), transparent 68%);
  animation: meejob-float-a 13s ease-in-out infinite;
}

.hero-orb-b {
  width: 450px;
  height: 450px;
  right: -12%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.46), transparent 68%);
  animation: meejob-float-b 16s ease-in-out infinite;
}

.hero .eyebrow {
  padding: 8px 14px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #ffd7a0;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(32, 201, 151, 0.14),
    0 0 18px rgba(32, 201, 151, 0.8);
}

html[lang="lo"] .hero .eyebrow {
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero h1 {
  max-width: 1000px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(46px, 7.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

html[lang="lo"] .hero h1 {
  max-width: 960px;
  font-size: clamp(34px, 5.8vw, 68px);
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(
    100deg,
    #ff4d6d 0%,
    #ffb45c 34%,
    #ffc857 48%,
    #5ee0b8 72%,
    #9b8cff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: meejob-gradient-pan 12s ease infinite;
}

.hero p {
  max-width: 650px;
  margin-bottom: 36px;
  color: rgba(235, 238, 255, 0.72);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.75;
}

html[lang="lo"] .hero p {
  line-height: 1.9;
}

.hero-search {
  max-width: 820px;
  padding: 9px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero-search:focus-within {
  border-color: rgba(255, 138, 91, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-search input {
  padding: 12px 16px;
  color: #fff;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero-search select {
  border-color: rgba(255, 255, 255, 0.12);
  background: #171c36;
  color: #fff;
}

.hero-search option {
  background: #fff;
  color: var(--ink);
}

.hero-search .btn {
  padding: 11px 24px;
}

.hero-buttons .btn {
  padding: 13px 24px;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 50px;
  padding-top: 0;
  border-top: 0;
}

.hero-stat {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-stat strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Section rhythm
   ========================================================================== */

main {
  counter-reset: meejob-section;
}

main > section:not(.hero) {
  counter-increment: meejob-section;
}

section {
  padding: 100px max(24px, 5vw);
}

.section-title {
  max-width: var(--container);
  margin: 0 auto 48px;
  text-align: left;
}

.section-title::before {
  content: "0" counter(meejob-section) " / 07";
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 77, 109, 0.12);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.section-title h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

html[lang="lo"] .section-title h2 {
  line-height: 1.35;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.section-title p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ==========================================================================
   Jobs â€” a bright card floating over the dark hero
   ========================================================================== */

.jobs-section {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  margin: -56px auto 0;
  padding: 64px clamp(20px, 4vw, 48px) 72px;
  border: 1px solid rgba(12, 14, 26, 0.06);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(12, 14, 26, 0.08);
}

.jobs-section .section-title {
  margin-bottom: 34px;
}

.jobs-controls {
  margin-bottom: 20px;
}

.jobs-search input {
  padding: 14px 18px 14px 48px;
}

.search-box input {
  border-color: var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring);
}

.search-box::before {
  content: "";
  left: 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.job-filter {
  padding: 9px 15px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink-2);
}

.job-filter:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.job-filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.jobs-toolbar {
  margin-bottom: 26px;
}

.jobs-note {
  color: var(--muted);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.job-card-grid,
.freelancer-grid,
.project-grid,
.features {
  gap: 18px;
}

.job-card,
.freelancer-card,
.project-card {
  position: relative;
  overflow: hidden;
  border-color: var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 14, 26, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.job-card::before,
.freelancer-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--jade));
  opacity: 0.7;
}

.job-card:hover,
.freelancer-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 109, 0.28);
  box-shadow: 0 22px 50px rgba(12, 14, 26, 0.12);
}

.job-card {
  padding: 24px;
}

.job-card h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.job-type {
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.job-card-foot {
  border-top: 1px dashed var(--line-strong);
}

.job-salary {
  color: var(--brand-dark);
  font-weight: 700;
}

.freelancer-card,
.project-card {
  padding: 26px;
}

.freelancer-avatar {
  background: linear-gradient(135deg, var(--brand), var(--violet));
  box-shadow: 0 10px 24px rgba(124, 108, 255, 0.24);
}

.freelancer-card h3,
.project-card h3 {
  letter-spacing: -0.025em;
}

.project-budget {
  color: var(--brand-dark);
}

.role {
  border-color: rgba(255, 77, 109, 0.14);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.rate-tag,
.category-count {
  background: var(--gold-soft);
  color: #8a5a12;
}

/* ==========================================================================
   Categories
   ========================================================================== */

#categories {
  padding-top: 110px;
  padding-bottom: 96px;
}

.category-grid {
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}

.category-card {
  --cat: var(--brand);
  --cat-soft: var(--brand-soft);
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 14, 26, 0.04);
}

.category-card::before {
  inset: 0 auto 0 0;
  width: 4px;
  height: auto;
  background: linear-gradient(180deg, var(--cat), transparent);
  opacity: 0.9;
}

.category-card::after {
  content: "";
  position: absolute;
  top: -52px;
  right: -52px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--cat);
  opacity: 0.06;
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--cat);
  box-shadow: 0 20px 44px rgba(12, 14, 26, 0.1);
}

.category-card:hover::before,
.category-card.is-active::before {
  opacity: 1;
}

.category-card.is-active {
  border-color: var(--cat);
  background: linear-gradient(180deg, #fff, var(--cat-soft));
}

.category-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: var(--cat-soft);
  font-size: 24px;
}

.category-card h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.category-card p {
  color: var(--muted);
  font-size: 13.5px;
}

.category-count {
  background: var(--cat-soft);
  color: var(--cat);
}

.category-card:nth-child(1) {
  --cat: #e6365b;
  --cat-soft: #fff0f4;
}

.category-card:nth-child(2) {
  --cat: #b67a00;
  --cat-soft: #fff7de;
}

.category-card:nth-child(3) {
  --cat: #0f8f70;
  --cat-soft: #e8fbf4;
}

.category-card:nth-child(4) {
  --cat: #6654e8;
  --cat-soft: #f0edff;
}

.category-card:nth-child(5) {
  --cat: #d94a76;
  --cat-soft: #fff0f6;
}

.category-card:nth-child(6) {
  --cat: #a06a00;
  --cat-soft: #fff8e8;
}

.category-card:nth-child(7) {
  --cat: #168c9c;
  --cat-soft: #e9f9fb;
}

.category-card:nth-child(8) {
  --cat: #6557c9;
  --cat-soft: #f1efff;
}

/* ==========================================================================
   Freelance projects â€” night-market band
   ========================================================================== */

.projects-section {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 48px) 80px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(900px 450px at 10% 0%, rgba(255, 77, 109, 0.18), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(124, 108, 255, 0.22), transparent 60%),
    linear-gradient(160deg, #0a0c1b, #12172e 60%, #0b0e1e);
  box-shadow: 0 30px 70px rgba(8, 10, 23, 0.2);
  color: #fff;
}

.projects-section .section-title::before {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #ffd7a0;
}

.projects-section .section-title h2 {
  color: #fff;
}

.projects-section .section-title p {
  color: rgba(235, 238, 255, 0.62);
}

.projects-section .section-title h2::after {
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.projects-section .search-box input {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: none;
}

.projects-section .search-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.projects-section .search-box::before {
  color: rgba(255, 255, 255, 0.5);
}

.projects-section .search-box input:focus {
  border-color: rgba(255, 138, 91, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.12);
}

.projects-section .job-filter {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.projects-section .job-filter:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.projects-section .job-filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.projects-section .empty-message {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
}

.projects-section .project-login-note {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.projects-section .project-card {
  background: #fff;
  color: var(--ink);
}

.projects-section .project-card h3 {
  color: var(--ink);
}

/* ==========================================================================
   Talent
   ========================================================================== */

#talent {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(124, 108, 255, 0.045) 45%,
    transparent 100%
  );
}

#talent .search-box {
  margin-bottom: 36px;
}

.freelancer-card {
  border-color: var(--line);
}

.freelancer-card p {
  color: var(--muted);
}

/* ==========================================================================
   How it works
   ========================================================================== */

#how-it-works {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 200, 87, 0.075) 50%,
    transparent 100%
  );
}

.features {
  counter-reset: meejob-feature;
}

.feature-card {
  --feat: var(--brand);
  --feat-soft: var(--brand-soft);
  counter-increment: meejob-feature;
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border-color: var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 14, 26, 0.04);
}

.feature-card:nth-child(1) {
  --feat: var(--brand);
  --feat-soft: var(--brand-soft);
}

.feature-card:nth-child(2) {
  --feat: #b67a00;
  --feat-soft: var(--gold-soft);
}

.feature-card:nth-child(3) {
  --feat: #0f8f70;
  --feat-soft: var(--jade-soft);
}

.feature-card::after {
  content: "0" counter(meejob-feature);
  position: absolute;
  top: -8px;
  right: 16px;
  color: rgba(12, 14, 26, 0.045);
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
  pointer-events: none;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--feat), transparent);
  opacity: 0.8;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--feat);
  box-shadow: 0 20px 44px rgba(12, 14, 26, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 16px;
  background: var(--feat);
  color: #fff;
  box-shadow: 0 12px 24px rgba(12, 14, 26, 0.14);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ==========================================================================
   About
   ========================================================================== */

#about .section-title {
  margin-bottom: 32px;
}

.about-box {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(600px 260px at 90% 100%, rgba(255, 200, 87, 0.18), transparent 65%),
    radial-gradient(500px 260px at 0% 0%, rgba(255, 77, 109, 0.18), transparent 65%),
    linear-gradient(135deg, #0b0e1e, #151a34);
  box-shadow: 0 24px 60px rgba(8, 10, 23, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
  text-align: left;
}

.about-box::before {
  content: "â€œ";
  position: absolute;
  top: 2px;
  left: 22px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 112px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.3;
  pointer-events: none;
}

.about-box::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.3), transparent 65%);
  pointer-events: none;
}

.about-box p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 28px;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  padding: 0 max(24px, 5vw) 20px;
  background: transparent;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  max-width: min(1320px, 100%);
  padding: clamp(44px, 7vw, 84px) clamp(24px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  background:
    radial-gradient(680px 380px at 88% 0%, rgba(124, 108, 255, 0.3), transparent 62%),
    radial-gradient(620px 360px at 8% 100%, rgba(255, 77, 109, 0.24), transparent 62%),
    linear-gradient(135deg, #0a0c1b, #151a34 55%, #0d1024);
  box-shadow: 0 30px 70px rgba(8, 10, 23, 0.25);
  text-align: left;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    rgba(255, 77, 109, 0.5),
    rgba(255, 200, 87, 0.35),
    rgba(124, 108, 255, 0.5),
    rgba(255, 77, 109, 0.5)
  );
  -webkit-mask: radial-gradient(
    circle at center,
    transparent 0 59%,
    #000 59.4% 60.4%,
    transparent 60.8%
  );
  mask: radial-gradient(
    circle at center,
    transparent 0 59%,
    #000 59.4% 60.4%,
    transparent 60.8%
  );
  opacity: 0.5;
  pointer-events: none;
}

.cta h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

html[lang="lo"] .cta h2 {
  line-height: 1.35;
}

.cta p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(235, 238, 255, 0.68);
  font-size: 17px;
}

.cta .btn {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cta .btn:hover {
  background: #fff4f7;
  color: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  position: relative;
  overflow: hidden;
  margin-top: 100px;
  padding: 68px max(24px, 5vw) 30px;
  background:
    radial-gradient(700px 340px at 10% 0%, rgba(255, 77, 109, 0.1), transparent 65%),
    radial-gradient(700px 340px at 90% 10%, rgba(124, 108, 255, 0.12), transparent 65%),
    #080a17;
  color: #9fa3bb;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--gold), transparent);
  opacity: 0.8;
}

.footer-inner {
  gap: 36px;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand .logo-accent {
  color: #ff9b73;
}

.footer-brand p {
  color: #9fa3bb;
}

.footer-col h4 {
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.footer-col a {
  color: #9fa3bb;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact-note {
  color: #7f849d;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #7f849d;
}

.footer-bottom a {
  color: #d9dcef;
}

/* ==========================================================================
   Forms, modals and dashboards
   ========================================================================== */

.modal {
  background: rgba(8, 10, 23, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal-content {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.04em;
}

.close-btn {
  border-radius: 12px;
  background: var(--violet-soft);
  color: var(--ink-2);
}

.close-btn:hover {
  background: #e6e0ff;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-color: var(--line-strong);
  border-radius: 14px;
  background: #fbfaff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring);
}

.tabs {
  border-color: transparent;
  border-radius: 999px;
  background: #eeebf9;
}

.tab {
  border-radius: 999px;
}

.tab.active {
  color: var(--ink);
}

.dash-item,
.applicant {
  border-color: var(--line);
  border-radius: 18px;
  background: #fff;
}

.dash-item:hover {
  border-color: rgba(255, 77, 109, 0.25);
}

/* ==========================================================================
   Motion
   ========================================================================== */

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

@keyframes meejob-gradient-pan {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes meejob-float-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -18px, 0);
  }
}

@keyframes meejob-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 14px, 0);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero h1 {
    font-size: clamp(44px, 6.8vw, 76px);
  }

  .hero-halo {
    right: -24%;
    opacity: 0.32;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 66px;
  }

  .hero {
    padding: 92px max(20px, 5vw) 116px;
  }

  .hero-halo {
    width: 720px;
    right: -38%;
    top: -18%;
    opacity: 0.28;
  }

  section {
    padding: 80px max(20px, 5vw);
  }

  .jobs-section {
    width: calc(100% - 24px);
    margin-top: -46px;
    padding: 52px 24px 60px;
    border-radius: 28px;
  }

  .projects-section {
    width: calc(100% - 24px);
    padding: 56px 24px 62px;
    border-radius: 28px;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2 {
    font-size: clamp(28px, 5.4vw, 42px);
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stat {
    padding: 14px 10px;
  }

  .hero-stat strong {
    font-size: 24px;
  }

  .hero-stat span {
    font-size: 11px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 76px 18px 100px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    padding: 18px 16px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    font-size: 20px;
  }

  .category-card h3 {
    font-size: 15.5px;
  }

  .category-card p {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .category-count {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: clamp(38px, 9vw, 56px);
  }

  html[lang="lo"] .hero h1 {
    font-size: clamp(30px, 7.6vw, 46px);
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-search {
    border-radius: 24px;
    padding: 8px;
  }

  .hero-search input,
  .hero-search select,
  .hero-search .btn {
    flex: 1 1 100%;
    border-radius: 16px;
  }

  .hero-search .btn {
    min-height: 46px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-top: 36px;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-align: left;
  }

  .hero-stat strong {
    font-size: 22px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: clamp(28px, 7.4vw, 38px);
  }

  .section-title p {
    font-size: 16px;
  }

  .jobs-section,
  .projects-section {
    width: calc(100% - 20px);
    padding: 44px 18px 52px;
    border-radius: 24px;
  }

  .jobs-section {
    margin-top: -32px;
  }

  .cta {
    padding: 0 12px;
  }

  .cta-inner {
    padding: 48px 24px;
    border-radius: 28px;
  }

  .cta h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .about-box {
    border-radius: 24px;
  }

  .about-box p {
    padding-left: 0;
  }

  .about-box::before {
    left: 14px;
    opacity: 0.2;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer {
    margin-top: 72px;
    padding: 56px 20px 26px;
  }
}

@media (max-width: 600px) {
  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content {
    max-width: 100%;
    max-height: 92vh;
    padding: 26px 20px 30px;
    border-radius: 26px 26px 0 0;
  }

  .hero .eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .hero-buttons .btn {
    flex: 1 1 100%;
  }

  .jobs-section {
    margin-top: -24px;
  }

  .section-title::before {
    margin-bottom: 12px;
  }
}

@media (max-width: 430px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-halo,
  .hero-orb-a,
  .hero-orb-b,
  .hero h1 .accent {
    animation: none !important;
  }
}

/* ==========================================================================
   MEMBERSHIP ï¿½ pricing, status, payment and request history
   ========================================================================== */

.hero-membership-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8e5ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-membership-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(32, 201, 151, 0.18);
}

/* --- Pricing section ------------------------------------------------------ */

.pricing-section {
  padding: 92px 20px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.pricing-highlight {
  position: relative;
  overflow: hidden;
  margin: 0 auto 34px;
  max-width: 820px;
  padding: 30px 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 77, 109, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 200, 87, 0.24), transparent 46%),
    linear-gradient(135deg, #fff0f4 0%, #f5f1ff 100%);
  text-align: center;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pricing-highlight h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.pricing-highlight p {
  margin: 0 auto;
  max-width: 580px;
  color: var(--ink-2);
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(12, 14, 26, 0.06);
}

.price-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1.05;
}

.price-currency {
  font-size: 22px;
  font-weight: 700;
  transform: translateY(-6px);
}

.price-amount small {
  margin-left: 5px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.price-note {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13.5px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-features li {
  position: relative;
  padding-left: 25px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.price-features li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--jade-soft);
  color: #0b8f69;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-button {
  width: 100%;
  margin-top: auto;
}

.price-card.featured {
  border-color: transparent;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 77, 109, 0.34), transparent 52%),
    linear-gradient(155deg, var(--night-2) 0%, var(--night) 100%);
  box-shadow: 0 28px 70px rgba(8, 10, 23, 0.35);
  transform: translateY(-10px);
}

.price-card.featured h3,
.price-card.featured .price-amount {
  color: #fff;
}

.price-card.featured .price-amount small,
.price-card.featured .price-note {
  color: #a9a8c7;
}

.price-card.featured .price-features li {
  color: #dedcf3;
}

.price-card.featured .price-features li::before {
  background: rgba(32, 201, 151, 0.18);
  color: #5ff0c4;
}

.price-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: #4a3600;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-footnote {
  margin: 30px auto 0;
  max-width: 680px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* --- Status cards --------------------------------------------------------- */

.membership-modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

.membership-intro {
  margin: -8px 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.membership-status-card,
.profile-membership {
  margin-bottom: 20px;
}

.membership-state {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaff;
}

.membership-state strong {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.membership-state p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
}

.membership-state.is-trial {
  border-color: rgba(124, 108, 255, 0.25);
  background: var(--violet-soft);
}

.membership-state.is-active {
  border-color: rgba(32, 201, 151, 0.3);
  background: var(--jade-soft);
}

.membership-state.is-expired {
  border-color: rgba(255, 77, 109, 0.28);
  background: var(--brand-soft);
}

.membership-state.is-warning {
  border-color: rgba(255, 200, 87, 0.5);
  background: var(--gold-soft);
}

.membership-state.is-admin {
  border-color: rgba(124, 108, 255, 0.25);
  background: var(--violet-soft);
}

.membership-badge {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-small {
  font-size: 12.5px !important;
  color: var(--muted) !important;
}

.membership-section-title {
  margin: 26px 0 12px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.profile-membership .membership-state {
  padding: 14px 16px;
}

.profile-membership .membership-state strong {
  font-size: 15px;
}

.profile-membership .membership-state p {
  font-size: 12.5px;
}

.profile-membership-button {
  margin: -8px 0 20px;
}

/* --- Plan picker ---------------------------------------------------------- */

.membership-plan-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.membership-plan-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.membership-plan-option:hover {
  border-color: rgba(255, 77, 109, 0.45);
}

.membership-plan-option.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 4px var(--brand-ring);
}

.membership-plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.membership-plan-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.membership-pay-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f5f2ff;
  color: var(--ink-2);
  font-size: 13.5px;
}

.membership-pay-summary strong {
  color: var(--ink);
}

/* --- Payment -------------------------------------------------------------- */

.payment-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #eeebf9;
  width: fit-content;
  margin-bottom: 16px;
}

.payment-tab {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.payment-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(12, 14, 26, 0.1);
}

.qr-choose {
  margin: 0 0 10px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.qr-currency-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.qr-currency {
  padding: 8px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.qr-currency:hover {
  border-color: rgba(255, 77, 109, 0.45);
}

.qr-currency.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.qr-amount {
  text-align: center;
}

.qr-amount-alt {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.payment-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaff;
}

.payment-panel > p {
  margin: 10px 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.65;
}

.payment-panel .btn {
  margin-top: 4px;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.qr-box img {
  width: min(280px, 100%);
  height: auto;
  padding: 10px;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(12, 14, 26, 0.12);
}

.qr-bank {
  margin: 2px 0 0 !important;
  text-align: center;
  color: var(--muted) !important;
  font-size: 12.5px !important;
  font-weight: 600;
}

.qr-bank strong {
  color: var(--ink-2);
}

.qr-help {
  margin: 0;
  max-width: 360px;
  color: var(--muted) !important;
  font-size: 12.5px !important;
}

/* --- Request history ------------------------------------------------------ */

.membership-history-title {
  margin: 26px 0 12px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

.membership-history,
.membership-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.membership-request {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.membership-request-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.membership-request-main strong {
  color: var(--ink);
  font-size: 14px;
}

.membership-request-meta {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.membership-request-note {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.membership-request-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  flex-shrink: 0;
}

.membership-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-soft);
  color: #8a5a00;
}

.membership-status.status-approved {
  background: var(--jade-soft);
  color: #0b7a5a;
}

.membership-status.status-rejected {
  background: var(--brand-soft);
  color: #b3163c;
}

.membership-status.status-cancelled {
  background: #eeebf9;
  color: var(--muted);
}

.membership-admin-request {
  align-items: flex-start;
}

.membership-admin-note {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: #7a4f00;
  font-size: 13px;
  font-weight: 600;
}

.membership-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

#dashboardMembershipStatus {
  flex: 1;
}

#dashboardMembershipStatus .membership-state {
  margin-bottom: 0;
}

/* --- Navigation + dashboard tabs ----------------------------------------- */

#membershipNavButton.membership-nav-expired {
  border-color: rgba(255, 77, 109, 0.45);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.dashboard-toolbar .tabs {
  flex-wrap: wrap;
}

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

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 600px) {
  .pricing-section {
    padding: 64px 18px 10px;
  }

  .pricing-highlight {
    padding: 24px 20px;
  }

  .membership-plan-picker {
    grid-template-columns: 1fr;
  }

  .membership-plan-option {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .membership-request {
    flex-direction: column;
  }

  .membership-request-side {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .membership-dashboard-head {
    flex-direction: column;
  }

  .membership-dashboard-head .btn {
    width: 100%;
  }

  .payment-tabs {
    width: 100%;
  }

  .payment-tab {
    flex: 1;
    text-align: center;
  }

  .qr-currency-tabs {
    width: 100%;
  }

  .qr-currency {
    flex: 1;
    padding: 8px 10px;
  }
}

/* ==========================================================================
   PROVINCES — browse jobs by province
   ========================================================================== */

#provinces {
  padding: 96px 20px 10px;
  max-width: var(--container);
  margin: 0 auto;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
  max-width: var(--container);
  margin: 0 auto;
}

.province-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, transform 0.15s ease;
}

.province-card:hover {
  border-color: rgba(255, 77, 109, 0.45);
  box-shadow: 0 12px 26px rgba(12, 14, 26, 0.08);
  transform: translateY(-2px);
}

.province-card.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.province-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.35;
}

.province-count {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f5f2ff;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.province-card.is-active .province-count {
  background: #fff;
  color: var(--brand-dark);
}

.province-select-row {
  display: flex;
  align-items: center;
}

.job-province-select {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.job-province-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring);
}

@media (max-width: 600px) {
  #provinces {
    padding: 64px 16px 8px;
  }

  .province-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .province-card {
    padding: 12px;
  }

  .province-name {
    font-size: 13px;
  }

  .province-count {
    font-size: 10.5px;
    padding: 2px 7px;
  }

  .province-select-row,
  .job-province-select {
    width: 100%;
  }
}

/* ==========================================================================
   JOB IMAGES — poster / photo uploaded with a job
   ========================================================================== */

#jobImage {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: #fbfaff;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

#jobImage::file-selector-button {
  margin-right: 10px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.job-image-preview {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.job-image-preview img {
  width: 170px;
  height: 120px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5f2ff;
}

.job-image-hint {
  margin: 8px 0 0;
  font-size: 12.5px;
}

.job-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 2px 0 10px;
  border-radius: 14px;
  background: #f5f2ff;
}

.job-detail-image {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  margin: 14px 0 6px;
  border-radius: 16px;
  background: #f5f2ff;
}
