/* ============================================================
   Fashion Freelancing — Homepage v8 "Nebula Light"
   SAME design as the dark v7 (structure, glass, glow, motion,
   cursor spotlight, orbs) — ported to a LIGHT tinted base.
   The trick: soft lavender base + white-glass cards + kept
   colored glow shadows. Linear-light / Stripe energy.
   Self-contained — loaded AFTER styles.css, scoped to body.home-v7.
   (class name kept as home-v7 so the HTML needs no change.)
   ============================================================ */

:root {
  /* Light tinted base — soft lavender, NOT flat white (this is the trick) */
  --d-bg:        #F4F4FB;
  --d-bg-2:      #ECECF7;
  --d-bg-3:      #FFFFFF;
  --d-panel:     rgba(255,255,255,.72);
  --d-panel-2:   rgba(255,255,255,.94);
  --d-ink:       #14132B;
  --d-ink-2:     #3B3A57;
  --d-ink-3:     #6E6C8A;
  --d-ink-4:     #9B99B4;
  --d-border:    rgba(20,19,43,.08);
  --d-border-2:  rgba(20,19,43,.13);

  /* Accent — violet → indigo → cyan (kept) */
  --d-violet:    #6E56F0;
  --d-indigo:    #5468F5;
  --d-cyan:      #2BA8E8;
  --d-grad:      linear-gradient(118deg, #6E56F0 0%, #5468F5 50%, #2BA8E8 100%);
  --d-grad-soft: linear-gradient(118deg, rgba(110,86,240,.13), rgba(43,168,232,.12));

  --d-ease:      cubic-bezier(.22,1,.36,1);
  /* Colored glow shadows — kept; they read on a tinted (non-white) base */
  --d-glow-sm:   0 8px 22px -10px rgba(84,104,245,.4);
  --d-glow-md:   0 22px 50px -20px rgba(84,104,245,.42);
  --d-glow-lg:   0 40px 84px -30px rgba(110,86,240,.5);
}

/* ---- page shell -------------------------------------------- */
body.home-v7 {
  background: var(--d-bg);
  color: var(--d-ink);
  overflow-x: hidden;
}
body.home-v7 ::selection { background: rgba(110,86,240,.22); color: var(--d-ink); }
.home-v7 .hv-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.home-v7 .hv-section { position: relative; padding: 120px 0; z-index: 1; }
@media (max-width: 720px){ .home-v7 .hv-section { padding: 78px 0; } }

/* The page atmosphere (gradient wash + grid + grain) is provided
   site-wide by styles.css via body::before / body::after. */

/* ---- glow orbs (lighting simulation, softened for light) --- */
.hv-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .55; pointer-events: none; z-index: 0;
  animation: hv-drift 24s ease-in-out infinite;
}
.hv-orb.violet { background: radial-gradient(circle, rgba(110,86,240,.6), transparent 70%); }
.hv-orb.blue   { background: radial-gradient(circle, rgba(84,104,245,.55), transparent 70%); }
.hv-orb.cyan   { background: radial-gradient(circle, rgba(43,168,232,.5), transparent 70%); }
.hv-orb.pink   { background: radial-gradient(circle, rgba(232,110,200,.42), transparent 70%); }
@keyframes hv-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(50px,-38px) scale(1.16); }
  66%     { transform: translate(-38px,30px) scale(.9); }
}
@media (prefers-reduced-motion: reduce){ .hv-orb { animation: none; } }

/* ---- floating badge pill ---------------------------------- */
.hv-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--d-panel-2); border: 1px solid var(--d-border-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--d-glow-sm);
  font-size: 12.5px; font-weight: 600; color: var(--d-ink-2);
}
.hv-eyebrow .dot {
  width: 21px; height: 21px; border-radius: 999px; background: var(--d-grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px;
}

/* ---- typography ------------------------------------------- */
.home-v7 .hv-display {
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: -0.024em; line-height: 1.04;
}
.hv-h1 { font-size: clamp(44px, 6.6vw, 88px); }
.hv-h2 { font-size: clamp(31px, 4vw, 54px); }
.hv-grad-text {
  background: var(--d-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-v7 .hv-lead {
  color: var(--d-ink-3); font-size: 18px; line-height: 1.64;
  font-family: var(--font-body); font-weight: 400;
}
.home-v7 .hv-kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--d-grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}

/* ---- buttons (tactile, glow, slow hover) ------------------ */
.home-v7 .hv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--d-ease), box-shadow .4s var(--d-ease), background-position .5s var(--d-ease);
}
.hv-btn-primary {
  background: var(--d-grad); background-size: 180% 180%;
  color: #fff; box-shadow: 0 14px 34px -10px rgba(84,104,245,.6);
}
.hv-btn-primary:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 22px 50px -10px rgba(110,86,240,.72); }
.hv-btn-ghost {
  background: var(--d-panel-2); color: var(--d-ink); border: 1px solid var(--d-border-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hv-btn-ghost:hover { transform: translateY(-3px); border-color: rgba(110,86,240,.5); box-shadow: var(--d-glow-md); }
.hv-btn .ar { transition: transform .4s var(--d-ease); }
.hv-btn:hover .ar { transform: translateX(5px); }

/* ---- glass card -------------------------------------------- */
.hv-card {
  position: relative;
  background: var(--d-panel);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 24px; border: 1px solid var(--d-border);
  box-shadow: 0 1px 2px rgba(20,19,43,.04), 0 12px 30px -18px rgba(20,19,43,.2);
  transition: transform .45s var(--d-ease), box-shadow .45s var(--d-ease), border-color .45s var(--d-ease), background .45s var(--d-ease);
}
/* gradient hairline edge — brightens on hover */
.hv-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(110,86,240,.5), rgba(43,168,232,.2) 55%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .5; transition: opacity .45s var(--d-ease); pointer-events: none;
}
.hv-card-hover:hover {
  transform: translateY(-8px);
  background: var(--d-panel-2);
  border-color: var(--d-border-2);
  box-shadow: var(--d-glow-lg);
}
.hv-card-hover:hover::before { opacity: 1; }

/* cursor spotlight (--mx/--my set by JS) */
.hv-spot { position: relative; overflow: hidden; }
.hv-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(110,86,240,.16), transparent 62%);
  opacity: 0; transition: opacity .4s var(--d-ease); pointer-events: none;
}
.hv-spot:hover::after { opacity: 1; }

/* ---- scroll reveal (slow, cinematic) ---------------------- */
.hv-reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--d-ease), transform .9s var(--d-ease); }
.hv-reveal.in { opacity: 1; transform: none; }
.hv-stagger > * { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--d-ease), transform .8s var(--d-ease); }
.hv-stagger.in > * { opacity: 1; transform: none; }
.hv-stagger.in > *:nth-child(1){ transition-delay:.06s; }
.hv-stagger.in > *:nth-child(2){ transition-delay:.16s; }
.hv-stagger.in > *:nth-child(3){ transition-delay:.26s; }
.hv-stagger.in > *:nth-child(4){ transition-delay:.36s; }
.hv-stagger.in > *:nth-child(5){ transition-delay:.46s; }
.hv-stagger.in > *:nth-child(6){ transition-delay:.56s; }
@media (prefers-reduced-motion: reduce){
  .hv-reveal,.hv-stagger > * { opacity:1 !important; transform:none !important; }
}

/* ---- HERO -------------------------------------------------- */
.hv-hero { position: relative; padding: 138px 0 96px; text-align: center; overflow: hidden; }
.hv-hero .hv-orb.o1 { width: 580px; height: 580px; top: -200px; left: -150px; }
.hv-hero .hv-orb.o2 { width: 500px; height: 500px; top: -150px; right: -140px; animation-delay: -8s; }
.hv-hero .hv-orb.o3 { width: 420px; height: 420px; bottom: -250px; left: 36%; animation-delay: -14s; opacity:.4; }
.hv-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hv-hero h1 { margin: 26px 0 0; }
.hv-hero .hv-lead { max-width: 600px; margin: 26px auto 0; color: var(--d-ink-2); }
.hv-hero-cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hv-hero-note { margin-top: 22px; font-size: 13.5px; color: var(--d-ink-3); }
.hv-hero-note a { color: var(--d-indigo); font-weight: 600; }

/* hero path cards */
.hv-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 68px auto 0; }
@media (max-width: 680px){ .hv-paths { grid-template-columns: 1fr; } }
.hv-path { padding: 32px; text-align: left; cursor: pointer; }
.hv-path .ico {
  width: 54px; height: 54px; border-radius: 15px; background: var(--d-grad-soft);
  border: 1px solid var(--d-border-2);
  display: flex; align-items: center; justify-content: center; font-size: 25px;
  transition: transform .4s var(--d-ease);
}
.hv-path:hover .ico { transform: scale(1.08) rotate(-4deg); }
.hv-path h3 { font-family: var(--font-display); font-size: 25px; font-weight: 500; margin: 19px 0 0; letter-spacing: -.014em; color: var(--d-ink); }
.hv-path p { color: var(--d-ink-3); font-size: 14.5px; line-height: 1.62; margin: 11px 0 0; }
.hv-path .go { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--d-indigo); }
.hv-path .go .ar { transition: transform .4s var(--d-ease); }
.hv-path:hover .go .ar { transform: translateX(6px); }

/* ---- STAT BAND -------------------------------------------- */
.hv-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 680px){ .hv-stats { grid-template-columns: 1fr; } }
.hv-stat { padding: 34px 28px; text-align: center; }
.hv-stat .num { font-family: var(--font-display); font-size: clamp(40px,4.2vw,56px); font-weight: 500; line-height: 1; color: var(--d-ink); }
.hv-stat .num .star { background: var(--d-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv-stat .lbl { margin-top: 11px; color: var(--d-ink-3); font-size: 14px; }
.hv-stat .live { display:inline-block; width:7px; height:7px; border-radius:999px; background: var(--d-indigo); margin-right:6px; vertical-align: middle; box-shadow: 0 0 10px rgba(84,104,245,.85); animation: hv-pulse 1.7s ease-in-out infinite; }
@keyframes hv-pulse { 0%,100%{ opacity:1; } 50%{ opacity:.3; } }

/* ---- SECTION HEADERS -------------------------------------- */
.hv-shead { text-align: center; max-width: 660px; margin: 0 auto 58px; }
.hv-shead .hv-kicker { display: block; margin-bottom: 15px; }
.hv-shead h2 { color: var(--d-ink); }
.hv-shead p { margin-top: 15px; }
.hv-shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.hv-shead-row .hv-kicker { display:block; margin-bottom: 12px; }
.hv-shead-row h2 { color: var(--d-ink); }

/* ---- HOW IT WORKS ----------------------------------------- */
.hv-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 820px){ .hv-steps { grid-template-columns: 1fr; } }
.hv-step { padding: 36px 30px; }
.hv-step .n {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  width: 42px; height: 42px; border-radius: 13px; background: var(--d-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(84,104,245,.6);
}
.hv-step h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 21px 0 0; letter-spacing: -.012em; color: var(--d-ink); }
.hv-step p { color: var(--d-ink-3); font-size: 14.5px; line-height: 1.62; margin: 11px 0 0; }

/* ---- CATEGORY TILES --------------------------------------- */
.hv-cats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 980px){ .hv-cats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .hv-cats { grid-template-columns: 1fr; } }
.hv-cat {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  border: 1px solid var(--d-border);
  transition: transform .45s var(--d-ease), box-shadow .45s var(--d-ease), border-color .45s var(--d-ease);
}
.hv-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--d-ease); }
.hv-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(16,15,38,.86)); }
.hv-cat:hover { transform: translateY(-6px); border-color: rgba(110,86,240,.42); box-shadow: var(--d-glow-md); }
.hv-cat:hover img { transform: scale(1.1); }
.hv-cat .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; }
.hv-cat .cap .nm { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.hv-cat .cap .ct { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 3px; }

/* ---- TALENT CARDS ----------------------------------------- */
.hv-talent { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 980px){ .hv-talent { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .hv-talent { grid-template-columns: 1fr; } }
.hv-person { overflow: hidden; cursor: pointer; }
.hv-person .ph { aspect-ratio: 4/3; overflow: hidden; border-radius: 23px 23px 0 0; }
.hv-person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--d-ease); }
.hv-person:hover .ph img { transform: scale(1.08); }
.hv-person .bd { padding: 17px; }
.hv-person .row { display: flex; align-items: center; gap: 9px; }
.hv-person .av { width: 31px; height: 31px; border-radius: 999px; object-fit: cover; }
.hv-person .nm { font-weight: 600; font-size: 14px; color: var(--d-ink); }
.hv-person .ro { color: var(--d-ink-3); font-size: 12px; }
.hv-person .meta { margin-top: 15px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--d-ink-2); }
.hv-person .meta strong { color: var(--d-ink); }
.hv-person .star { color: #F0A93B; }

/* ---- JOBS LIST -------------------------------------------- */
.hv-jobs { display: flex; flex-direction: column; gap: 12px; }
.hv-job {
  display: grid; grid-template-columns: 1fr auto auto auto auto;
  align-items: center; gap: 22px; padding: 21px 24px; cursor: pointer;
}
@media (max-width: 820px){
  .hv-job { grid-template-columns: 1fr; gap: 8px; }
  .hv-job > *:nth-child(n+3){ font-size: 13px; color: var(--d-ink-3); }
}
.hv-job .ttl { display: flex; align-items: center; gap: 14px; }
.hv-job .brand {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--d-grad-soft); border: 1px solid var(--d-border-2);
  color: var(--d-indigo);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px;
}
.hv-job .ttl .nm { font-weight: 600; font-size: 15px; color: var(--d-ink); }
.hv-job .ttl .mt { color: var(--d-ink-3); font-size: 12.5px; margin-top: 2px; }
.hv-job .role { color: var(--d-ink-2); font-size: 14px; }
.hv-job .pay { font-family: var(--font-display); font-weight: 600; color: var(--d-ink); }
.hv-job .dur { color: var(--d-ink-3); font-size: 14px; }
.hv-job .applybtn {
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--d-grad); color: #fff; transition: transform .4s var(--d-ease);
  box-shadow: var(--d-glow-sm);
}
.hv-job:hover .applybtn { transform: translateX(3px); }

/* ---- SAFETY split ----------------------------------------- */
.hv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px){ .hv-split { grid-template-columns: 1fr; gap: 36px; } }
.hv-split h2 { color: var(--d-ink); }
.hv-checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.hv-checklist li { display: flex; align-items: flex-start; gap: 13px; font-size: 15px; color: var(--d-ink-2); }
.hv-checklist li strong { color: var(--d-ink); }
.hv-checklist .ck {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--d-grad-soft); border: 1px solid var(--d-border-2); color: var(--d-indigo);
  display: flex; align-items: center; justify-content: center; font-size: 13px; margin-top: 1px;
}
.hv-pay-card { padding: 30px; }
.hv-pay-card h3 { color: var(--d-ink); }
.hv-pay-step { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 14px; background: var(--d-bg-2); border: 1px solid var(--d-border); margin-top: 12px; }
.hv-pay-step.final { background: var(--d-grad-soft); border-color: rgba(110,86,240,.34); }
.hv-pay-step .ck { width: 28px; height: 28px; border-radius: 999px; background: #fff; border: 1px solid var(--d-border-2); color: var(--d-indigo); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.hv-pay-step .txt { flex: 1; }
.hv-pay-step .txt .t { font-size: 14px; font-weight: 600; color: var(--d-ink); }
.hv-pay-step .txt .s { font-size: 12px; color: var(--d-ink-3); }
.hv-pay-step .tag { font-size: 12.5px; color: var(--d-ink-3); }
.hv-pay-step.final .tag { color: var(--d-indigo); font-weight: 600; }

/* ---- TESTIMONIAL ------------------------------------------ */
.hv-quote { text-align: center; max-width: 760px; margin: 0 auto; }
.hv-quote blockquote {
  font-family: var(--font-display); font-weight: 500; color: var(--d-ink);
  font-size: clamp(25px,3.1vw,40px); line-height: 1.3; letter-spacing: -.014em; margin: 0;
}
.hv-quote .qby { margin-top: 30px; display: flex; gap: 12px; align-items: center; justify-content: center; }
.hv-quote .qby img { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; }
.hv-quote .qby .qn { font-weight: 600; color: var(--d-ink); }
.hv-quote .qby .qr { color: var(--d-ink-3); font-size: 13px; }

/* ---- FAQ -------------------------------------------------- */
.hv-faq { max-width: 760px; margin: 0 auto; }
.hv-faq details {
  background: var(--d-panel); border: 1px solid var(--d-border);
  border-radius: 16px; padding: 4px 22px; margin-bottom: 10px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .35s var(--d-ease), box-shadow .35s var(--d-ease);
}
.hv-faq details[open] { border-color: rgba(110,86,240,.4); box-shadow: var(--d-glow-sm); }
.hv-faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 16px; color: var(--d-ink);
}
.hv-faq summary::-webkit-details-marker { display: none; }
.hv-faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--d-indigo); transition: transform .3s var(--d-ease); }
.hv-faq details[open] summary::after { transform: rotate(45deg); }
.hv-faq details p { margin: 0 0 18px; color: var(--d-ink-3); font-size: 14.5px; line-height: 1.66; }

/* ---- marquee ---------------------------------------------- */
.hv-marquee-wrap { overflow: hidden; -webkit-mask: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.hv-marquee { display: flex; gap: 56px; animation: hv-marq 40s linear infinite; align-items: center; width: max-content; }
.hv-marquee-wrap:hover .hv-marquee { animation-play-state: paused; }
@keyframes hv-marq { to { transform: translateX(-50%); } }
.hv-brand { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--d-ink-4); white-space: nowrap; transition: color .3s; }
.hv-brand:hover { color: var(--d-ink-2); }
.hv-brand.it { font-style: italic; }

/* ---- CTA (dark navy panel — kept as a contrast moment) ----- */
.hv-cta {
  position: relative; overflow: hidden; border-radius: 34px;
  padding: 84px 32px; text-align: center;
  background: linear-gradient(135deg, #1A1840, #262168 56%, #14122F);
  border: 1px solid rgba(255,255,255,.1);
}
.hv-cta .hv-orb.c1 { width: 400px; height: 400px; top: -150px; left: 6%; opacity:.7; }
.hv-cta .hv-orb.c2 { width: 360px; height: 360px; bottom: -200px; right: 8%; opacity:.6; animation-delay: -9s; }
.hv-cta-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.hv-cta h2 { color: #fff; }
.hv-cta .hv-grad-text { background: linear-gradient(118deg,#A892FF,#7CC6FF); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hv-cta p { color: rgba(255,255,255,.66); margin-top: 15px; }
.hv-cta .hv-hero-cta { margin-top: 32px; }
.hv-cta .hv-btn-ghost { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.2); }
.hv-cta .hv-btn-ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }

/* The injected nav + footer are themed by styles.css (v8 nebula) —
   no homepage-specific override needed; they already match. */
