/* JobFlow live remix - cinematic contractor-tech */
:root {
  --r: 18px;
  --pad: 148px;
  --maxw: 1240px;
  --accent: #ff5a2f;
  --concept-cyan: #77e6ff;
  --concept-violet: #9c83ff;
  --concept-glow: rgba(255, 90, 47, 0.2);
}

body.theme-dark {
  --bg: #07080b;
  --bg2: #0a0c11;
  --panel: rgba(18, 21, 29, 0.78);
  --panel2: rgba(24, 28, 38, 0.82);
  --text: #f7f8fc;
  --muted: #a7afc0;
  --muted2: #737c90;
  --line: rgba(255, 255, 255, 0.09);
  --line2: rgba(255, 255, 255, 0.17);
  background:
    radial-gradient(circle at 14% 3%, rgba(255, 90, 47, 0.09), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(119, 230, 255, 0.055), transparent 34rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.wrap {
  padding-inline: 38px;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  letter-spacing: 0.18em;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent);
}

.section-head h2 {
  font-size: clamp(46px, 6.2vw, 78px);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-head p {
  font-size: 20px;
  line-height: 1.65;
}

/* Floating glass navigation */
.nav {
  top: 16px;
  padding-inline: 18px;
  pointer-events: none;
}

.nav-in {
  height: 66px;
  max-width: 1180px;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.72);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
}

.nav.scrolled {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.nav-links {
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta .btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
}

/* Hero: oversized type + dimensional live preview */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 158px 0 120px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero::before {
  width: 34rem;
  height: 34rem;
  top: -15rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(119, 230, 255, 0.14), transparent 68%);
}

.hero::after {
  width: 42rem;
  height: 42rem;
  left: -25rem;
  bottom: -25rem;
  background: radial-gradient(circle, rgba(255, 90, 47, 0.16), transparent 68%);
}

.hero-glow {
  width: 1040px;
  height: 720px;
  top: -240px;
  opacity: 1;
  background: radial-gradient(ellipse at center, rgba(255, 90, 47, 0.15), transparent 66%);
}

.hero-grid {
  background-size: 72px 72px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 92% 68% at 58% 8%, #000 12%, transparent 75%);
}

.hero-in {
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(56px, 7vw, 104px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 690px;
  margin: 30px 0 28px;
  font-size: clamp(64px, 8.1vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.072em;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(105deg, #ff6a3d 8%, #ff9a6f 45%, #fff0e8 94%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 16px 38px rgba(255, 90, 47, 0.18));
}

.hero p.sub {
  max-width: 560px;
  color: #b2b9c7;
  font-size: 21px;
  line-height: 1.7;
}

.hero-cta .btn-primary {
  min-height: 58px;
  padding-inline: 28px;
  border-radius: 999px;
  box-shadow: 0 22px 54px -18px rgba(255, 90, 47, 0.9);
}

.hero-meta {
  max-width: 620px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
}

.hero-frame {
  position: relative;
  z-index: 2;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
  transform-origin: center;
  filter: drop-shadow(0 64px 80px rgba(0, 0, 0, 0.42));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-frame:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0deg) translateY(-5px);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 27px;
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.75), rgba(119, 230, 255, 0.24) 45%, transparent 74%);
  filter: blur(15px);
  opacity: 0.56;
}

.frame {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 25px;
  background: rgba(11, 13, 18, 0.9);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.frame-bar {
  padding: 15px 18px;
  background: rgba(21, 24, 32, 0.94);
}

.frame-url {
  margin-inline: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.psite {
  min-height: 420px;
}

.psite-nav {
  padding: 18px 22px;
  background: rgba(10, 12, 17, 0.92);
}

.psite-hero {
  min-height: 270px;
  padding: 42px 30px;
}

.psite-hero::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.97) 0%, rgba(5, 7, 11, 0.77) 56%, rgba(5, 7, 11, 0.17) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.04), rgba(5, 7, 11, 0.68));
}

.psite-photo {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.08);
}

.psite-h {
  max-width: 390px;
  min-height: auto;
  font-size: clamp(32px, 3.3vw, 47px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.psite-sub {
  max-width: 355px;
  font-size: 14px;
}

.psite-foot {
  background: rgba(8, 10, 14, 0.94);
}

/* Proof rail overlaps the hero like a physical card */
.painbar {
  position: relative;
  z-index: 5;
  padding: 0 0 54px;
  border: 0;
  background: transparent;
}

.painbar-in {
  margin-top: -42px;
  padding: 27px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(110deg, rgba(255, 90, 47, 0.12), rgba(17, 20, 27, 0.92) 38%, rgba(119, 230, 255, 0.07));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.painbar-num {
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 90, 47, 0.28);
}

/* Card-based narrative */
#problem {
  padding-top: 108px;
}

.prob-grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.prob {
  min-height: 250px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--bg2);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.prob:not(:first-child),
.prob:last-child {
  border: 1px solid var(--line);
}

.prob:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 47, 0.4);
  background: linear-gradient(145deg, rgba(255, 90, 47, 0.08), rgba(255, 255, 255, 0.018));
}

.prob .n {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line2);
  border-radius: 999px;
}

.prob p {
  margin-top: 54px;
  font-size: 18px;
}

/* Portfolio cards are the visual centerpiece */
.trade-showcase {
  padding-top: 36px !important;
}

.trade-showcase::before {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  top: 20%;
  right: -26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 230, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.trade-showcase-grid {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.trade-showcase-card {
  min-height: 465px;
  border-radius: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 80px -48px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.trade-showcase-card:nth-child(2),
.trade-showcase-card:nth-child(3) {
  min-height: 400px;
}

.trade-showcase-card:hover,
.trade-showcase-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(255, 106, 61, 0.54);
  box-shadow: 0 46px 100px -50px rgba(255, 90, 47, 0.32);
}

.trade-showcase-shade {
  background:
    linear-gradient(180deg, transparent 15%, rgba(5, 7, 11, 0.22) 52%, rgba(5, 7, 11, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.18), transparent 65%);
}

.trade-showcase-copy {
  inset: auto 34px 34px;
}

.trade-showcase-copy strong {
  font-size: clamp(40px, 4.5vw, 62px);
}

/* Steps become a crisp process grid */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.step {
  min-height: 220px;
  grid-template-columns: 70px 1fr;
  align-content: start;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.024);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step:hover {
  padding-left: 30px;
  transform: translateY(-5px);
  border-color: rgba(119, 230, 255, 0.28);
}

.step-time {
  grid-column: 2;
  align-self: end;
  margin-top: 22px;
}

.step-n {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 106, 61, 0.74);
}

/* Included list becomes a subtle bento wall */
.incl-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border: 0;
}

.incl,
.incl:nth-child(odd),
.incl:nth-child(even) {
  min-height: 132px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
}

.incl .ck {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* Pricing cards separate and float */
.price-grid {
  gap: 16px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.price {
  padding: 38px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.price:last-child {
  border-right: 1px solid var(--line);
}

.price:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.2);
}

.price.pop {
  z-index: 2;
  transform: translateY(-18px);
  border-color: rgba(255, 90, 47, 0.62);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 130, 76, 0.22), transparent 40%),
    linear-gradient(145deg, #f45127, #c93618);
  box-shadow: 0 34px 80px -30px rgba(255, 90, 47, 0.65);
}

.price.pop:hover {
  transform: translateY(-24px);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 174, 132, 0.24), transparent 40%),
    linear-gradient(145deg, #fb5c31, #cb391a);
}

.host-note {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
}

/* FAQ and finish */
.faq {
  padding: 14px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.018);
}

.fq {
  font-size: 25px;
}

.final {
  padding: 170px 0;
  background:
    radial-gradient(circle at 50% 115%, rgba(255, 112, 66, 0.42), transparent 45%),
    radial-gradient(circle at 82% 12%, rgba(119, 230, 255, 0.1), transparent 34%),
    #08090d;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 50% 100%, #000, transparent 66%);
}

.final h2 {
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.foot {
  background: #07080b;
}

.foot-in {
  align-items: flex-start;
}

@media (max-width: 980px) {
  :root {
    --pad: 112px;
  }

  .hero {
    min-height: auto;
    padding-top: 148px;
  }

  .hero-in {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero h1 {
    max-width: 800px;
    font-size: clamp(68px, 12vw, 104px);
  }

  .hero-frame {
    max-width: 780px;
    transform: none;
  }

  .trade-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .incl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 88px;
  }

  .wrap {
    padding-inline: 20px;
  }

  .nav {
    top: 10px;
    padding-inline: 10px;
  }

  .nav-in {
    height: 58px;
    padding-left: 14px;
  }

  .hero {
    padding: 116px 0 86px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .hero p.sub {
    font-size: 18px;
  }

  .hero-meta {
    padding: 18px 14px;
  }

  .hero-meta .n {
    font-size: 28px;
  }

  .hero-meta .item + .item {
    padding-left: 12px;
  }

  .hero-frame {
    filter: drop-shadow(0 36px 50px rgba(0, 0, 0, 0.42));
  }

  .psite {
    min-height: 360px;
  }

  .psite-hero {
    min-height: 230px;
    padding: 30px 22px;
  }

  .painbar-in {
    margin-top: -30px;
    padding: 22px;
  }

  .section-head h2 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .prob-grid,
  .steps,
  .trade-showcase-grid,
  .incl-grid {
    grid-template-columns: 1fr;
  }

  .prob {
    min-height: 210px;
  }

  .trade-showcase-card,
  .trade-showcase-card:nth-child(2),
  .trade-showcase-card:nth-child(3) {
    min-height: 365px;
  }

  .step {
    min-height: 190px;
  }

  .price.pop,
  .price.pop:hover {
    transform: none;
  }

  .faq {
    padding-inline: 20px;
  }

  .fq {
    font-size: 21px;
  }

  .final {
    padding: 118px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame,
  .hero-frame:hover,
  .trade-showcase-card,
  .prob,
  .step,
  .price,
  .price:hover,
  .price.pop,
  .price.pop:hover {
    transform: none;
    transition: none;
  }

  .live .pulse {
    animation: none;
  }
}
