/* style.css | WorkQuify | Global design system */

/* ── TOKENS ── */
:root {
  --teal:         #0D7377;
  --teal-dark:    #095E62;
  --teal-light:   #14A5AB;
  --teal-xlight:  #4DC4C9;
  --teal-soft:    #E6F4F4;
  --teal-mid:     #B2E0E2;
  --amber:        #F59E0B;
  --amber-soft:   #FEF3C7;
  --amber-dark:   #D97706;
  --navy:         #0B1A2B;
  --navy-mid:     #112233;
  --navy-light:   #1A3044;
  --navy-border:  rgba(255,255,255,0.07);
  --off-white:    #F7FAFA;
  --surface:      #FFFFFF;
  --border:       rgba(13,115,119,0.12);
  --border-mid:   rgba(13,115,119,0.22);
  --text-dark:    #0B1A2B;
  --text-body:    #4A5568;
  --text-muted:   #8A9BB0;
  --success:      #10B981;
  --success-soft: #ECFDF5;
  --warning:      #F59E0B;
  --warning-soft: #FFFBEB;
  --danger:       #EF4444;
  --danger-soft:  #FEF2F2;
  --shadow-sm:    0 2px 12px rgba(11,26,43,0.06);
  --shadow-md:    0 8px 32px rgba(11,26,43,0.09);
  --shadow-lg:    0 24px 64px rgba(11,26,43,0.13);
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-2xl: 48px;
  --nav-h: 64px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", monospace;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font: inherit; }

/* ── NAV ── */
.wq-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(11,26,43,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--navy-border);
  transition: box-shadow .2s;
}
.wq-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.28);
}
.wq-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.wq-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  line-height: 1;
}
.wq-logo span { color: var(--teal-light); }
.wq-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.wq-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.58);
  transition: color .15s;
  letter-spacing: -0.01em;
}
.wq-nav-link:hover,
.wq-nav-link.active { color: #fff; }
.wq-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.wq-nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color .15s;
}
.wq-nav-signin:hover { color: #fff; }
.wq-nav-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  padding: 9px 18px;
  border-radius: var(--r-sm);
  letter-spacing: -0.01em;
  transition: background .15s, transform .15s;
}
.wq-nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}
.wq-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r-xs);
}
.wq-nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.wq-nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wq-nav-burger.open span:nth-child(2) { opacity: 0; }
.wq-nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.wq-mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-border);
  padding: 16px 24px 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s, opacity .2s;
}
.wq-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.wq-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wq-mobile-links a {
  display: block;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  border-radius: var(--r-sm);
  transition: background .14s, color .14s;
}
.wq-mobile-links a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.wq-mobile-cta {
  margin-top: 8px;
  background: var(--teal) !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700 !important;
  text-align: center;
}

/* ── FOOTER ── */
.wq-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
}
.wq-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.wq-footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  padding: 64px 0 48px;
}
.wq-footer-logo { display: block; margin-bottom: 14px; }
.wq-footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 220px;
}
.wq-footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.wq-footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  margin-bottom: 14px;
}
.wq-footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  padding: 4px 0;
  transition: color .14s;
  line-height: 1.5;
}
.wq-footer-col a:hover { color: rgba(255,255,255,0.85); }
.wq-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--navy-border);
  flex-wrap: wrap;
}
.wq-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.wq-footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  max-width: 520px;
  text-align: right;
  line-height: 1.5;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--r-sm);
  transition: transform .16s, box-shadow .16s, background .15s, border-color .15s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--teal);
  color: #fff;
  padding: 14px 26px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(13,115,119,0.3);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 8px 28px rgba(13,115,119,0.42);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.82);
  padding: 13px 26px;
  font-size: 15px;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.24);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--teal);
  padding: 10px 20px;
  font-size: 14px;
}
.btn-ghost:hover {
  background: var(--teal-soft);
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-tight    { background: rgba(245,158,11,0.15); color: var(--amber); border: 1px solid rgba(245,158,11,0.28); }
.badge-ok       { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.28); }
.badge-bad      { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.28); }
.badge-neutral  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.12); }

/* ── LAYOUT ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-dark { background: var(--navy); }
.section-white { background: var(--surface); }

/* ── TYPOGRAPHY ── */
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}
.kicker-light { color: var(--teal-light); }
.h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.text-accent { color: var(--teal-light); }
.text-amber  { color: var(--amber); }
.mono { font-family: var(--font-mono); }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}
.card-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  transition: background .18s;
}
.card-dark:hover { background: rgba(255,255,255,0.055); }

/* ── GRID TEXTURE ── */
.grid-texture {
  background-image:
    linear-gradient(rgba(13,115,119,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,115,119,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── RESULT CARD (hero / salary) ── */
.wq-result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 28px;
  backdrop-filter: blur(24px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.08);
}
.wq-rc-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.32);
}
.wq-rc-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
}
.wq-rc-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.8); }
}
.wq-rc-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 16px 0;
}
.wq-rc-item {
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wq-rc-item-label {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wq-rc-item-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

/* ── TOOL CARD ── */
.wq-tool-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.wq-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}
.wq-tool-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--teal-soft);
  border: 1px solid rgba(13,115,119,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.wq-tool-arrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  transition: gap .14s;
}
.wq-tool-card:hover .wq-tool-arrow { gap: 9px; }

/* ── ENGINE CARD ── */
.wq-engine-card {
  background: rgba(255,255,255,0.025);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 40px 36px;
  position: relative;
  transition: background .2s;
}
.wq-engine-card:last-child { border-right: none; }
.wq-engine-card:hover { background: rgba(255,255,255,0.05); }
.wq-engine-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}
.wq-engine-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.tag-scale { background: rgba(13,115,119,0.18); color: var(--teal-light); border: 1px solid rgba(13,115,119,0.28); }
.tag-conv  { background: rgba(245,158,11,0.14); color: var(--amber); border: 1px solid rgba(245,158,11,0.24); }
.tag-moat  { background: rgba(139,92,246,0.14); color: #C4B5FD; border: 1px solid rgba(139,92,246,0.24); }
.wq-engine-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .14s;
}
.wq-engine-link:hover { gap: 10px; }

/* ── SALARY LINK CARD ── */
.wq-salary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.wq-salary-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-mid);
}
.wq-salary-card strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.wq-salary-card span {
  font-size: 12px;
  color: var(--text-muted);
}
.wq-salary-arrow {
  font-size: 13px;
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── TRUST ITEM ── */
.wq-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.wq-trust-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(13,115,119,0.2);
  border: 1px solid rgba(13,115,119,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--teal-light);
  flex-shrink: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-up { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.anim-d1 { animation-delay: 0.05s; }
.anim-d2 { animation-delay: 0.13s; }
.anim-d3 { animation-delay: 0.21s; }
.anim-d4 { animation-delay: 0.29s; }
.anim-d5 { animation-delay: 0.37s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .wq-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .wq-footer-cols { grid-template-columns: repeat(3, 1fr); }
  .wq-footer-tagline { max-width: none; }
}
@media (max-width: 768px) {
  .wq-nav-links { display: none; }
  .wq-nav-signin { display: none; }
  .wq-nav-burger { display: flex; }
  .wq-mobile-menu { display: block; }
  .wq-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .wq-footer-cols { grid-template-columns: 1fr; }
  .wq-footer-bottom { flex-direction: column; align-items: flex-start; }
  .wq-footer-note { text-align: left; }
  :root { --nav-h: 58px; }
}