/* ===== LOADER ===== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#loader.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  width: 110px;
  height: 110px;
  animation: spin 1.4s linear infinite;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #1c1c1e;
  --white: #ffffff;
  --grey: #9ca3af;
  --muted-text: #6b7280;
  --radius-btn: 100px;
  --font: 'puffin', 'Inter', system-ui, sans-serif;
  --container: 1300px;
  --gutter: 10px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-dark {
  background: #09090b;
  color: #ffffff;
  border-radius: 14px;
  border: none;
  box-shadow:
    0 0 0 1.5px #383838,
    0 0 0 3.5px #09090b,
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.4);
}
.btn-dark:hover {
  opacity: 1;
  background: #09090b;
}

.btn-outline { background: transparent; color: var(--black); border: 1.5px solid #d1d5db; border-radius: 14px; }
.btn-outline:hover { border-color: var(--black); }

.btn-white {
  background: #ffffff;
  color: #09090b;
  border-radius: 14px;
  border: none;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.15),
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(0,0,0,0.06);
}
.btn-white:hover { opacity: 0.92; }

.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ===== NAVBAR ===== */
.navbar-outer {
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover img {
  transform: rotate(360deg);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: -12px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--black);
  transition: opacity .15s;
}

.nav-links a:hover { opacity: .55; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: #f0f0f0;
  padding: 0 24px;
}

.announcement-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  font-size: 14px;
  color: var(--white);
  background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1200&q=60');
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
}

.announcement-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.announcement-inner span,
.announcement-inner a {
  position: relative;
  z-index: 1;
}

.announcement-cta {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition: background .15s;
}
.announcement-cta:hover { background: rgba(255,255,255,.25); }

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 0 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Trust badge */
.avatar-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  background: #ffffff;
  padding: 6px 20px 6px 6px;
  border-radius: 100px;
  border: 1px solid #e2e4e7;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  margin-left: -10px;
  transition: transform 0.25s ease;
}

.avatar-img:first-child { margin-left: 0; }

.avatar-img:hover { transform: translateY(-5px); }

.avatar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.avatar-label {
  font-size: 13px;
  font-weight: 400;
  color: #4b5563;
  white-space: nowrap;
}

.avatar-label strong {
  font-weight: 700;
  color: #09090b;
}

/* Headline */
.hero-headline {
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 24px;
  text-align: center;
}

.hero-headline .muted {
  color: var(--grey);
}

/* ===== WORD CAROUSEL ===== */
.word-carousel {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}

.word-item {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--grey);
  white-space: nowrap;
  line-height: 1.08;
  opacity: 0;
  transform: translateY(60%);
  transition:
    opacity 0.5s cubic-bezier(0.76, 0, 0.24, 1),
    transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.word-item.active {
  opacity: 1;
  transform: translateY(0);
}

.word-item.leaving {
  opacity: 0;
  transform: translateY(-60%);
}

/* Subheadline */
.hero-sub {
  font-size: clamp(14px, 1.6vw, 19px);
  color: var(--muted-text);
  line-height: 1.55;
  margin-bottom: 40px;
  white-space: nowrap;
}

/* CTAs */
.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

/* ===== PROOF ROW ===== */
.proof-row {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  width: 100%;
  gap: 0;
}

.proof-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.proof-stat-right {
  justify-content: flex-end;
}

.stat-number {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: var(--muted-text);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}

/* ===== MARQUEE ===== */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #9aa0a8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.marquee-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .nav-links { display: none; }

  .announcement-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    border-radius: 0 0 12px 12px;
  }

  .proof-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .proof-stat:last-child { justify-content: center; }
  .proof-logos { flex-wrap: wrap; gap: 16px; }
}

/* ===== MEGA MENU ===== */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-trigger {
  color: var(--black);
  transition: opacity .15s;
}
.nav-dropdown-trigger:hover { opacity: .55; }

.mega-menu {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(780px, 92vw);
  background: var(--black);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

/* Invisible bridge so mouse can travel from trigger to menu without gap */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
}

.nav-dropdown-wrapper:hover .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mega-card-full {
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.mega-card-img-full {
  width: 220px;
  height: 130px;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border-radius: 10px 0 0 10px;
}

.mega-card-full .mega-card-body {
  padding: 20px 20px 20px 20px;
}

.mega-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.mega-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.2s;
  text-decoration: none;
}
.mega-card:hover { background: rgba(255,255,255,0.09); }

.mega-card-img {
  width: 140px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 10px;
}

.mega-card-body {
  padding: 16px 16px 16px 0;
}

.mega-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.mega-card-body p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

.mega-mini {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  transition: background 0.2s;
  text-decoration: none;
}
.mega-mini:hover { background: rgba(255,255,255,0.06); }

.mega-mini-icon {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  margin-top: 1px;
}

.mega-mini h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.mega-mini p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===== PAIN SECTION ===== */
.pain-section {
  padding: 40px 16px 80px;
}

.pain-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  background: #f4f4f5;
  border-radius: 32px;
  padding: 80px 120px;
  align-items: center;
  width: 100%;
}

.pain-left {
  padding-right: 32px;
}

.pain-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 20px;
}

.pain-sub {
  font-size: 16px;
  color: var(--muted-text);
  line-height: 1.6;
  max-width: 380px;
}

.pain-right {
  background: var(--black);
  border-radius: 20px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pain-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: default;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pain-item:hover {
  transform: translateX(8px);
}

.pain-item:first-child { padding-top: 0; }
.pain-item:last-child  { padding-bottom: 0; border-bottom: none; }

.pain-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-item p {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.pain-item p strong {
  font-weight: 600;
  color: #ffffff;
}

.pain-muted {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

/* ============================================================
   QUIZ / LEAD GEN SECTION
   ============================================================ */

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 100px 0 110px;
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.process-label {
  display: inline-block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.process-headline {
  font-family: var(--font);
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 20px;
}

.process-sub {
  font-family: var(--font);
  font-size: 16px;
  color: var(--muted-text);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- Step cards ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* Row 1: steps 01–03 equal thirds */
.process-step:nth-child(1) { grid-column: 1 / 3; }
.process-step:nth-child(2) { grid-column: 3 / 5; }
.process-step:nth-child(3) { grid-column: 5 / 7; }
/* Row 2: steps 04–05 equal halves */
.process-step:nth-child(4) { grid-column: 1 / 4; }
.process-step:nth-child(5) { grid-column: 4 / 7; }

/* Bigger visuals for first row */
.process-step:nth-child(1) .process-visual,
.process-step:nth-child(2) .process-visual,
.process-step:nth-child(3) .process-visual {
  height: 240px;
}

/* Horizontal layout for wide step */
.process-step--horizontal {
  flex-direction: row;
}
.process-step--horizontal .process-visual {
  flex: 1;
  height: auto;
  min-height: 200px;
}
.process-step--horizontal .process-step-body {
  flex: 1;
  border-top: none;
  border-left: 1.5px solid #f0f0f2;
  justify-content: center;
  padding: 40px 48px;
}
.process-step--horizontal .pvl-browser {
  width: 60%;
}

.process-step {
  background: #ffffff;
  border: 1.5px solid #ebebed;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.process-step:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.process-step-body {
  padding: 22px 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  border-top: 1.5px solid #f0f0f2;
  align-items: start;
}

.process-step-body .process-num {
  grid-row: 1 / 3;
  align-self: start;
}

.process-num {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 600;
  color: rgba(0,0,0,0.08);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.process-step-title {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 7px;
}

.process-step-desc {
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted-text);
  line-height: 1.6;
}

/* ---- Shared visual area ---- */
.process-visual {
  height: 190px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* ---- Visual 1: Form mockup ---- */
.pvf-inner {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 62%;
}

.pvf-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pvf-label {
  width: 32px;
  height: 7px;
  border-radius: 4px;
  background: #e4e4e7;
  flex-shrink: 0;
}

.pvf-input {
  height: 32px;
  background: #ffffff;
  border: 1.5px solid #e8e8ea;
  border-radius: 8px;
  flex: 1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pvf-input--half { max-width: 55%; }

@keyframes inputActive {
  0%, 10%   { border-color: rgba(9,9,11,0.35); box-shadow: 0 0 0 3px rgba(9,9,11,0.06); }
  22%, 100% { border-color: #e8e8ea; box-shadow: none; }
}
.pvf-row:nth-child(1) .pvf-input { animation: inputActive 5.5s ease-in-out infinite 0s; }
.pvf-row:nth-child(2) .pvf-input { animation: inputActive 5.5s ease-in-out infinite 1.8s; }
.pvf-row:nth-child(3) .pvf-input { animation: inputActive 5.5s ease-in-out infinite 3.6s; }

.pvf-btn {
  align-self: flex-start;
  margin-top: 2px;
  background: #09090b;
  color: #ffffff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px #383838,
    0 0 0 2.5px #09090b,
    inset 0 1px 0 rgba(255,255,255,0.07);
}

/* ---- Visual 2: 24 timer ---- */
.pv-timer {
  flex-direction: column;
  gap: 0;
}

.pvt-ring {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1.5px solid #e4e4e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pvt-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid #f0f0f2;
}

.pvt-arc {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0,0,0,0.09);
  animation: rotateArc 14s linear infinite;
  pointer-events: none;
}

@keyframes rotateArc {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.pvt-number {
  font-family: var(--font);
  font-size: 52px;
  font-weight: 600;
  color: #09090b;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pvt-unit {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: rgba(0,0,0,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---- Visual 3: Chat bubbles ---- */
.pv-chat {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 22px;
}

@keyframes chatB1 {
  0%, 100%  { opacity: 0; transform: translateY(8px); }
  8%, 72%   { opacity: 1; transform: translateY(0); }
  83%       { opacity: 0; transform: translateY(0); }
}
@keyframes chatB2 {
  0%, 18%, 100% { opacity: 0; transform: translateY(8px); }
  26%, 72%      { opacity: 1; transform: translateY(0); }
  83%           { opacity: 0; transform: translateY(0); }
}
@keyframes chatB3 {
  0%, 36%, 100% { opacity: 0; transform: translateY(8px); }
  44%, 72%      { opacity: 1; transform: translateY(0); }
  83%           { opacity: 0; transform: translateY(0); }
}

.pvc-bubble {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  padding: 9px 13px;
  border-radius: 14px;
  max-width: 85%;
  opacity: 0;
}
.pvc-bubble:nth-child(1) { animation: chatB1 7s ease-in-out infinite; }
.pvc-bubble:nth-child(2) { animation: chatB2 7s ease-in-out infinite; }
.pvc-bubble:nth-child(3) { animation: chatB3 7s ease-in-out infinite; }

.pvc-left {
  background: #f4f4f5;
  color: #09090b;
  border-bottom-left-radius: 4px;
}

.pvc-right {
  align-self: flex-end;
  background: #09090b;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.pvc-ok {
  background: #09090b;
  color: #ffffff;
  border-bottom-left-radius: 4px;
}

/* ---- Visual 4: Browser / live ---- */
.pvl-browser {
  width: 78%;
  background: #ffffff;
  border: 1.5px solid #e8e8ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.pvl-bar {
  background: #f4f4f5;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ebebed;
}

.pvl-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.pvl-dots span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8d8da;
}

.pvl-url {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e8e8ea;
  border-radius: 5px;
  font-size: 10px;
  font-family: var(--font);
  color: rgba(0,0,0,0.38);
  padding: 4px 8px;
}

.pvl-content {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@keyframes skelShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.pvl-line {
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f2 25%, #e6e6e8 50%, #f0f0f2 75%);
  background-size: 200% 100%;
  animation: skelShimmer 2.2s ease-in-out infinite;
}
.pvl-line--wide   { width: 72%; }
.pvl-line--medium { width: 46%; animation-delay: 0.4s; }

.pvl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 2px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 99px;
  padding: 5px 11px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  color: #16a34a;
}

.pvl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* ---- Visual 3: Choice / invoice ---- */
.pvc-invoice {
  width: 74%;
  background: #ffffff;
  border: 1.5px solid #e8e8ea;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.pvc-inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pvc-inv-item {
  font-family: var(--font);
  font-size: 13px;
  color: rgba(0,0,0,0.5);
}

.pvc-inv-free {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
}

.pvc-inv-divider {
  height: 1px;
  background: #f0f0f2;
  margin: 14px 0;
}

.pvc-inv-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes buyPulse {
  0%, 100% { box-shadow: 0 0 0 1px #383838, 0 0 0 2.5px #09090b, inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 0 rgba(9,9,11,0.18); }
  55%       { box-shadow: 0 0 0 1px #383838, 0 0 0 2.5px #09090b, inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 7px rgba(9,9,11,0); }
}

.pvc-btn-buy {
  background: #09090b;
  color: #ffffff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  white-space: nowrap;
  animation: buyPulse 2.8s ease-in-out infinite;
}

.pvc-btn-pass {
  font-family: var(--font);
  font-size: 12px;
  color: rgba(0,0,0,0.3);
  font-weight: 500;
}

/* ---- CTA ---- */
.process-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

@media (max-width: 960px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:nth-child(1),
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4),
  .process-step:nth-child(5) {
    grid-column: auto;
  }
  .process-step:nth-child(1) .process-visual,
  .process-step:nth-child(2) .process-visual,
  .process-step:nth-child(3) .process-visual {
    height: 190px;
  }
  .process-step--horizontal {
    flex-direction: column;
  }
  .process-step--horizontal .process-visual {
    min-height: 190px;
  }
  .process-step--horizontal .process-step-body {
    border-left: none;
    border-top: 1.5px solid #f0f0f2;
    padding: 22px 26px 28px;
  }
  .process-step--horizontal .pvl-browser {
    width: 72%;
  }
}

@media (max-width: 540px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-section {
    padding: 72px 0 80px;
  }
}

/* ===== FEATURES SECTION ===== */
.feat2-section {
  padding: 100px 0 110px;
  background: #f7f7f8;
}

.feat2-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.feat2-header {
  margin-bottom: 60px;
}

.feat2-headline {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin: 0;
}

.feat2-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat2-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #ebebed;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feat2-row:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.feat2-card {
  background: #ededef;
  aspect-ratio: 5/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feat2-text {
  padding: 18px 20px 22px;
  border-top: 1.5px solid rgba(0,0,0,0.06);
}

.feat2-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.feat2-desc {
  font-size: 13.5px;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 7px 0 0;
}

/* ---- Illustration 1: Timer ---- */
.f2-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.f2-timer-wrap {
  position: relative;
  width: 86px;
  height: 86px;
}

.f2-timer-svg {
  width: 100%;
  height: 100%;
}

.f2-timer-arc {
  animation: rotateArc 11s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.f2-timer-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.f2-timer-num {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
}

.f2-timer-unit {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted-text);
  letter-spacing: 0.08em;
}

.f2-timer-tag {
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 3px 11px;
}

/* ---- Illustration 2: Brand / Design ---- */
.f2-brand {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.f2-brand-card {
  background: #fff;
  border: 1.5px solid #ebebed;
  border-radius: 16px;
  padding: 16px 18px;
  width: 100%;
  max-width: 155px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f2-brand-font {
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
}

.f2-brand-swatches {
  display: flex;
  gap: 6px;
  align-items: center;
}

.f2-sw {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.f2-sw-1 { background: #09090b; }
.f2-sw-2 { background: #71717a; }
.f2-sw-3 { background: #e4e4e7; border: 1px solid #d4d4d8; }
.f2-sw-live {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  animation: swHue 6s linear infinite;
}

@keyframes swHue {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}

.f2-brand-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ---- Illustration 3: Bar chart ---- */
.f2-bars {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 22px 18px;
  gap: 12px;
}

.f2-bars-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 76px;
  width: 100%;
}

.f2-bar {
  flex: 1;
  background: #d4d4d8;
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 0.65s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.f2-bar--hi { background: #09090b; }

.feat2-row.in-view .f2-bar              { height: var(--bh); }
.feat2-row.in-view .f2-bar:nth-child(1) { transition-delay: 0.05s; }
.feat2-row.in-view .f2-bar:nth-child(2) { transition-delay: 0.15s; }
.feat2-row.in-view .f2-bar:nth-child(3) { transition-delay: 0.25s; }
.feat2-row.in-view .f2-bar:nth-child(4) { transition-delay: 0.35s; }
.feat2-row.in-view .f2-bar:nth-child(5) { transition-delay: 0.45s; }

.f2-bars-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  background: rgba(9,9,11,0.07);
  border-radius: 100px;
  padding: 3px 11px;
  white-space: nowrap;
}

/* ---- Illustration 4: Phone ---- */
.f2-phone {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.f2-phone-frame {
  width: 60px;
  height: 96px;
  background: #fff;
  border: 2px solid #d4d4d8;
  border-radius: 13px;
  overflow: hidden;
  padding: 5px 4px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.f2-phone-notch {
  width: 18px;
  height: 4px;
  background: #d4d4d8;
  border-radius: 100px;
  margin: 0 auto;
  flex-shrink: 0;
}

.f2-phone-screen {
  flex: 1;
  background: #f4f4f5;
  border-radius: 7px;
  overflow: hidden;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.f2-ps-hero {
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e4e4e7 25%, #d4d4d8 50%, #e4e4e7 75%);
  background-size: 200% 100%;
  animation: skelShimmer 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.f2-ps-line {
  height: 3px;
  background: #e4e4e7;
  border-radius: 100px;
  flex-shrink: 0;
}

.f2-ps-line--short { width: 58%; }

.f2-ps-btn {
  margin-top: 3px;
  height: 7px;
  width: 52%;
  background: #09090b;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ---- Illustration 5: Invoice ---- */
.f2-invoice {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.f2-inv-card {
  background: #fff;
  border: 1.5px solid #ebebed;
  border-radius: 16px;
  padding: 14px 16px;
  width: 100%;
  max-width: 172px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f2-inv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f2-inv-label {
  font-size: 12px;
  color: var(--muted-text);
}

.f2-inv-check {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feat2-row.in-view .f2-inv-row:nth-child(1) .f2-inv-check { opacity: 1; transition-delay: 0.2s; }
.feat2-row.in-view .f2-inv-row:nth-child(2) .f2-inv-check { opacity: 1; transition-delay: 0.55s; }
.feat2-row.in-view .f2-inv-row:nth-child(3) .f2-inv-check { opacity: 1; transition-delay: 0.9s; }

.f2-inv-divider {
  height: 1px;
  background: #ebebed;
  margin: 2px 0;
}

.f2-inv-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.f2-inv-tot-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--black);
}

.f2-inv-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.f2-inv-mo {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-text);
}

/* ---- Illustration 6: Chat ---- */
.f2-chat {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  gap: 8px;
}

.f2-chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
}

.f2-chat-msg--us { flex-direction: row-reverse; }

.feat2-row.in-view .f2-chat-msg:nth-child(1) { animation: f2chatIn 0.4s ease-out 0.15s forwards; }
.feat2-row.in-view .f2-chat-msg:nth-child(2) { animation: f2chatIn 0.4s ease-out 0.65s forwards; }
.feat2-row.in-view .f2-chat-msg:nth-child(3) { animation: f2chatIn 0.4s ease-out 1.15s forwards; }

@keyframes f2chatIn {
  to { opacity: 1; transform: translateY(0); }
}

.f2-chat-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e4e4e7;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.f2-chat-av::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #c4c4c8;
  border-radius: 50%;
}

.f2-chat-av::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #c4c4c8;
  border-radius: 50%;
}

.f2-chat-bubble {
  background: #fff;
  border: 1.5px solid #ebebed;
  border-radius: 14px;
  padding: 6px 10px;
  font-size: 11.5px;
  color: var(--black);
  max-width: calc(100% - 36px);
  line-height: 1.4;
}

.f2-chat-msg--user .f2-chat-bubble { border-bottom-left-radius: 4px; }

.f2-chat-msg--us .f2-chat-bubble {
  background: #09090b;
  border-color: #09090b;
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* ---- Scroll-in animation (shared) ---- */
.feat-animate {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-8px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.feat-animate.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (max-width: 860px) {
  .feat2-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .feat2-section { padding: 72px 0 80px; }
  .feat2-list {
    grid-template-columns: 1fr;
  }
  .f2-phone-frame { height: 72px; width: 46px; }
}

/* ===== FEATURES SECTION — DARK OVERRIDE ===== */
.feat2-section { background: #1c1c1e; }
.feat2-section .process-headline { color: #fff; }

.feat2-row {
  background: #2a2a2e;
  border-color: rgba(255,255,255,0.07);
}
.feat2-row:hover { box-shadow: 0 8px 36px rgba(0,0,0,0.55); }
.feat2-text { border-top-color: rgba(255,255,255,0.07); }
.feat2-title { color: #fff; }
.feat2-desc { color: rgba(255,255,255,0.45); }
.feat2-card { background: rgba(255,255,255,0.04); }

/* Timer */
.f2-timer-wrap circle:first-child { stroke: rgba(255,255,255,0.1); }
.f2-timer-arc { stroke: rgba(255,255,255,0.88); }
.f2-timer-num { color: #fff; }
.f2-timer-unit { color: rgba(255,255,255,0.38); }

/* Brand */
.f2-brand-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.f2-brand-font { color: #fff; }
.f2-brand-label { color: rgba(255,255,255,0.38); }
.f2-sw-1 { background: rgba(255,255,255,0.85); }
.f2-sw-2 { background: rgba(255,255,255,0.35); }
.f2-sw-3 { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }

/* Bars */
.f2-bar { background: rgba(255,255,255,0.1); }
.f2-bar--hi { background: rgba(255,255,255,0.85); }
.f2-bars-label { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); }

/* Phone */
.f2-phone-frame { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.f2-phone-notch { background: rgba(255,255,255,0.15); }
.f2-phone-screen { background: rgba(255,255,255,0.04); }
.f2-ps-line { background: rgba(255,255,255,0.1); }
.f2-ps-btn { background: rgba(255,255,255,0.7); }
.f2-ps-hero {
  background: linear-gradient(90deg, rgba(255,255,255,0.07) 25%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.07) 75%);
  background-size: 200% 100%;
}

/* Invoice */
.f2-inv-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.f2-inv-label { color: rgba(255,255,255,0.4); }
.f2-inv-check { color: #4ade80; }
.f2-inv-divider { background: rgba(255,255,255,0.08); }
.f2-inv-tot-label { color: rgba(255,255,255,0.75); }
.f2-inv-price { color: #fff; }
.f2-inv-mo { color: rgba(255,255,255,0.38); }

/* Chat */
.f2-chat-msg--user .f2-chat-bubble { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); color: #fff; }
.f2-chat-msg--us .f2-chat-bubble { background: rgba(255,255,255,0.88); border-color: transparent; color: #1c1c1e; }
.f2-chat-av { background: rgba(255,255,255,0.1); }
.f2-chat-av::before, .f2-chat-av::after { background: rgba(255,255,255,0.2); }

/* ===== WORK / PORTFOLIO SECTION ===== */
.work-section {
  padding: 100px 0 110px;
  background: #fff;
  overflow: hidden;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.work-header .process-headline {
  text-align: center;
  flex: 1;
}

.work-arrows {
  display: flex;
  gap: 8px;
}

.work-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f4f5;
  border: 1.5px solid #ebebed;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.work-arrow:hover { background: #e8e8ea; transform: scale(1.06); }

.work-arrow svg {
  width: 17px;
  height: 17px;
  color: var(--black);
}

.work-track-wrap {
  padding-left: max(24px, calc((100vw - 1200px) / 2));
}

.work-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 10px;
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.work-track::-webkit-scrollbar { display: none; }
.work-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.work-card {
  flex-shrink: 0;
  width: clamp(300px, 44vw, 520px);
  border-radius: 28px;
  overflow: hidden;
  scroll-snap-align: start;
  user-select: none;
  background: #1c1c1e;
  transition: transform 0.28s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.28s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.22);
}

/* Placeholder image — replace with <img> once you have screenshots */
.work-img-placeholder {
  height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.wip-browser {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.wip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}

.wip-url {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 2px 10px;
  margin-left: 6px;
}

.wip-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 22px;
}

.wip-lines { display: flex; flex-direction: column; gap: 9px; }

.wip-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.22);
}

.wip-line--lg { width: 160px; height: 14px; }
.wip-line--md { width: 110px; }

.wip-btn {
  margin-top: 6px;
  width: 80px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.wip-cards {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  flex-shrink: 0;
}

.wip-card-sm {
  flex: 1;
  height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
}

/* Card colour themes */
.wip-1 { background: linear-gradient(160deg, #1a3040 0%, #0d1f2d 100%); }
.wip-1 .wip-btn { background: rgba(230,108,53,0.4); border-color: rgba(230,108,53,0.7); }
.wip-1 .wip-card-sm:nth-child(odd) { background: rgba(230,108,53,0.15); }

.wip-2 { background: linear-gradient(160deg, #1a3030 0%, #0e2020 100%); }
.wip-2 .wip-btn { background: rgba(42,138,122,0.4); border-color: rgba(42,138,122,0.7); }
.wip-2 .wip-card-sm:nth-child(odd) { background: rgba(42,138,122,0.15); }

.wip-3 { background: linear-gradient(160deg, #252520 0%, #151510 100%); }
.wip-3 .wip-btn { background: rgba(200,181,96,0.4); border-color: rgba(200,181,96,0.7); }
.wip-3 .wip-card-sm:nth-child(odd) { background: rgba(200,181,96,0.15); }

.wip-4 { background: linear-gradient(160deg, #2a1830 0%, #180e20 100%); }
.wip-4 .wip-btn { background: rgba(193,123,222,0.4); border-color: rgba(193,123,222,0.7); }
.wip-4 .wip-card-sm:nth-child(odd) { background: rgba(193,123,222,0.15); }

/* Work card info */
/* Real screenshot image */
.work-screenshot {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.work-info {
  padding: 20px 22px 24px;
}

.work-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-tag {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 4px 12px;
}

@media (max-width: 600px) {
  .work-card { width: 85vw; }
  .work-img-placeholder, .work-screenshot { height: 230px; }
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 100px 0 110px;
  background: #f7f7f8;
}

.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing-sub {
  font-size: 16px;
  color: var(--muted-text);
  margin: 16px 0 0;
  line-height: 1.7;
}

/* Single plan card */
.pricing-solo {
  max-width: 560px;
  margin: 0 auto;
}

.pricing-solo-card {
  background: #fff;
  border: 1.5px solid #e8e8ea;
  border-radius: 28px;
  overflow: hidden;
  padding: 48px 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  position: relative;
}

/* Top accent bar */
.pricing-solo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 3px;
  background: var(--black);
  border-radius: 0 0 4px 4px;
}

.pricing-solo-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-solo-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pricing-solo-amount {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--black);
  font-family: var(--font);
}

.pricing-solo-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pricing-solo-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.pricing-solo-vat {
  font-size: 12px;
  color: var(--muted-text);
  font-weight: 400;
}

.pricing-solo-divider {
  height: 1.5px;
  background: #f0f0f2;
}

.pricing-solo-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-solo-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--black);
  line-height: 1.4;
}

.psf-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #09090b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.psf-check svg {
  width: 11px;
  height: 9px;
}

@media (max-width: 600px) {
  .pricing-solo-card {
    padding: 40px 28px 36px;
  }
  .pricing-solo-card::before {
    left: 28px;
    right: 28px;
  }
  .pricing-solo-amount { font-size: 64px; }
}

/* ===== QUIZ / LEAD GEN ===== */
#quiz-section {
  padding: 40px 16px 80px;
}

.quiz-inner {
  background: var(--black);
  border-radius: 32px;
  padding: 80px 40px;
  width: 100%;
}

.quiz-wrapper {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ---- Header ---- */
.quiz-header {
  text-align: center;
  width: 100%;
}

.quiz-label {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

.quiz-headline {
  font-family: var(--font);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* ---- Card ---- */
.quiz-card {
  background: #f4f4f5;
  border-radius: 24px;
  width: 100%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ---- Progress bar (top of card) ---- */
.quiz-progress {
  display: flex;
  align-items: center;
  padding: 28px 32px 0;
}

.qp-item {
  position: relative;
  flex-shrink: 0;
}

.qp-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8e8ea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.qp-num {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #b0b0b8;
  transition: opacity 0.2s ease;
  line-height: 1;
}

.qp-check {
  position: absolute;
  width: 13px;
  height: 11px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.qp-line {
  flex: 1;
  height: 2px;
  background: #e8e8ea;
  transition: background 0.35s ease;
  min-width: 16px;
}

/* Done */
.qp-item.done .qp-dot {
  background: #09090b;
}
.qp-item.done .qp-num {
  opacity: 0;
}
.qp-item.done .qp-check {
  opacity: 1;
}
.qp-item.done + .qp-line {
  background: #09090b;
}

/* Active */
.qp-item.active .qp-dot {
  background: #09090b;
  transform: scale(1.18);
  box-shadow: 0 0 0 5px rgba(9, 9, 11, 0.1);
}
.qp-item.active .qp-num {
  color: #ffffff;
  opacity: 1;
}

/* ---- Step content wrapper ---- */
.quiz-step {
  padding: 40px 44px 44px;
}

/* ---- Step label & headline ---- */
.quiz-step-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.quiz-step-headline {
  font-family: var(--font);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  color: #09090b;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.quiz-step-sub {
  font-family: var(--font);
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4);
  line-height: 1.6;
  margin-bottom: 4px;
}

/* ---- Fields wrapper ---- */
.quiz-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  margin-bottom: 36px;
}

/* ---- Text inputs ---- */
.quiz-input {
  font-family: var(--font);
  font-size: 15px;
  color: #09090b;
  background: #ffffff;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
}

.quiz-input:focus {
  border-color: #09090b;
}

.quiz-input::placeholder {
  color: #b0b0b8;
}

.quiz-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ---- URL field toggle ---- */
.quiz-url-field {
  margin-top: 4px;
}

/* ---- Radio boxes ---- */
.quiz-radio-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  border: 1.5px solid #e8e8ea;
  transition: background 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.quiz-radio-box:hover {
  border-color: #c0c0c8;
}

.quiz-radio-box input[type="radio"] {
  display: none;
}

.quiz-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d0d0d8;
  flex-shrink: 0;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.quiz-radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.quiz-radio-box.selected {
  background: #09090b;
  border-color: #09090b;
}

.quiz-radio-box.selected .quiz-radio-dot {
  background: #ffffff;
  border-color: #ffffff;
}

.quiz-radio-box.selected .quiz-radio-dot::after {
  background: #09090b;
  opacity: 1;
}

.quiz-radio-label {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: #09090b;
  transition: color 0.2s ease;
}

.quiz-radio-box.selected .quiz-radio-label {
  color: #ffffff;
}

/* ---- Checkbox boxes ---- */
.quiz-check-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 20px;
  cursor: pointer;
  border: 1.5px solid #e8e8ea;
  transition: background 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.quiz-check-box:hover {
  border-color: #c0c0c8;
}

.quiz-check-box input[type="checkbox"] {
  display: none;
}

.quiz-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #d0d0d8;
  flex-shrink: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.quiz-check-icon::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.quiz-check-box.selected {
  background: #09090b;
  border-color: #09090b;
}

.quiz-check-box.selected .quiz-check-icon {
  background: #ffffff;
  border-color: #ffffff;
}

.quiz-check-box.selected .quiz-check-icon::after {
  border-color: #09090b;
  opacity: 1;
}

.quiz-check-label {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: #09090b;
  transition: color 0.2s ease;
}

.quiz-check-box.selected .quiz-check-label {
  color: #ffffff;
}

/* ---- Navigation row ---- */
.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-nav-right {
  justify-content: flex-end;
}

.quiz-btn-back {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.35);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.quiz-btn-back:hover {
  color: rgba(0, 0, 0, 0.7);
}

.quiz-btn-next,
.quiz-btn-submit {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #09090b;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow:
    0 0 0 1.5px #383838,
    0 0 0 3.5px #09090b,
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.4);
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.quiz-btn-next:hover,
.quiz-btn-submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.quiz-btn-next:active,
.quiz-btn-submit:active {
  transform: translateY(0);
}

/* ---- Info box (Step 5) ---- */
.quiz-info-box {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.quiz-green {
  color: #09090b;
  font-weight: 600;
}

/* ---- Summary list (Step 5) ---- */
.quiz-summary {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f0f0f2;
  margin-bottom: 32px;
}

.quiz-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f2;
}

.quiz-summary-row-last {
  border-bottom: none;
}

.quiz-summary-label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  min-width: 100px;
}

.quiz-summary-value {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: #09090b;
  text-align: right;
  word-break: break-word;
}

/* ---- Success screen ---- */
.quiz-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f4f4f5;
  border-radius: 24px;
  padding: 64px 40px;
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.5);
}

.quiz-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 28px;
}

.quiz-success-headline {
  font-family: var(--font);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  color: #09090b;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.quiz-success-sub {
  font-family: var(--font);
  font-size: 15px;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.65;
}

/* ---- Utility ---- */
.hidden {
  display: none !important;
}

/* ---- Step enter animation ---- */
@keyframes quizStepIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.quiz-step-enter {
  animation: quizStepIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes quizSuccessIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.quiz-success-enter {
  animation: quizSuccessIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ---- Validation error banner ---- */
.quiz-error-banner {
  margin: 0 32px 20px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 12px;
  font-size: 13.5px;
  color: #b91c1c;
  font-weight: 500;
  line-height: 1.4;
}

.quiz-input.error {
  border-color: #fca5a5 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12) !important;
}

@keyframes quizShakeAnim {
  0%, 100% { transform: translateX(0); }
  18%       { transform: translateX(-7px); }
  36%       { transform: translateX(7px); }
  54%       { transform: translateX(-5px); }
  72%       { transform: translateX(5px); }
}

.quiz-shake {
  animation: quizShakeAnim 0.42s ease-in-out;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .quiz-step {
    padding: 28px 24px 32px;
  }

  .quiz-btn-next,
  .quiz-btn-submit {
    padding: 13px 22px;
    font-size: 14px;
  }

  .quiz-summary-label {
    min-width: 80px;
  }

  .quiz-success {
    padding: 48px 28px;
  }
}


/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

/* ---- Hamburger button ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 300;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #09090b;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Full-screen mobile menu ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  flex-direction: column;
  padding: 90px 32px 48px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu-link {
  font-size: 26px;
  font-weight: 600;
  color: #09090b;
  letter-spacing: -0.02em;
  padding: 18px 0;
  border-bottom: 1.5px solid #f0f0f2;
  text-decoration: none;
  transition: opacity 0.15s;
}

.mobile-menu-link:last-of-type { border-bottom: none; }
.mobile-menu-link:hover { opacity: 0.5; }

.mobile-menu-cta {
  margin-top: 36px;
  align-self: flex-start;
  font-size: 16px;
}

/* ---- Show hamburger, hide desktop nav ---- */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links     { display: none; }
  .navbar-right .btn { display: none; }
  .navbar-right { gap: 0; margin-right: 0; }

  /* ---- Hero ---- */
  .hero-sub { white-space: normal; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { text-align: center; }

  /* ---- Proof row ---- */
  .proof-row { display: none; }

  /* ---- Pain section ---- */
  .pain-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 28px;
  }
  .pain-left { padding-right: 0; }
  .pain-right { padding: 28px 24px; }
  .pain-item p { font-size: 15px; }

  /* ---- Process ---- */
  .process-section { padding: 72px 0 80px; }

  /* ---- Features ---- */
  .feat2-list { grid-template-columns: 1fr; }
  .feat2-section { padding: 72px 0 80px; }

  /* ---- Work ---- */
  .work-section { padding: 72px 0 80px; }
  .work-header { padding: 0 20px; }
  .work-card { width: 84vw; }
  .work-screenshot { height: 260px; }

  /* ---- Pricing ---- */
  .pricing-section { padding: 72px 0 80px; }
  .pricing-solo-card { padding: 36px 24px 32px; }
  .pricing-solo-card::before { left: 24px; right: 24px; }
  .pricing-solo-amount { font-size: 60px; }

  /* ---- Quiz ---- */
  #quiz-section { padding: 24px 12px 60px; }
  .quiz-inner { padding: 48px 16px; border-radius: 24px; }
  .quiz-progress { padding: 20px 20px 0; }
  .quiz-step { padding: 24px 20px 28px; }
  .quiz-error-banner { margin: 0 20px 16px; }

  /* ---- About hero ---- */
  .about-hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .about-hero-left {
    padding: 100px 24px 40px !important;
    max-width: 100% !important;
  }
  .about-sub { max-width: 100% !important; }
  .about-hero-right {
    height: 420px !important;
    padding: 0 16px 48px !important;
  }

  /* ---- Contact hero ---- */
  .contact-hero { grid-template-columns: 1fr; min-height: auto; }
  .contact-left { padding: 100px 24px 48px; }
  .contact-sub { max-width: 100%; }
  .contact-right { padding: 0 24px 60px; background: #fff; }
  .contact-form-card { padding: 28px 20px; }
  .contact-form-row { grid-template-columns: 1fr; }

  /* ---- Contact values ---- */
  .contact-values-grid { grid-template-columns: 1fr; }

  /* ---- About values ---- */
  .about-values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .hero-headline { font-size: 36px; }
  .about-headline { font-size: 40px !important; }
  .contact-headline { font-size: 38px; }
  .pain-inner { border-radius: 20px; }
  .quiz-inner { border-radius: 18px; }
}
