/* ==============================================
   SHRAMSETU — Landing Page
   Light Theme · Design System v1.0
   ============================================== */

/* ---- Design Tokens ---- */
:root {
  --brand-700:    #1E40AF;
  --brand-600:    #2B50E2;
  --brand-500:    #4169F0;
  --brand-400:    #6E8DFF;
  --brand-50:     #EAF1FF;

  --accent-600:   #E85D2C;
  --accent-500:   #FF6B35;
  --accent-50:    #FFE9DF;

  --ink-900:      #0A0A0A;
  --ink-700:      #3A3A3C;
  --ink-500:      #6E6E73;
  --ink-300:      #D2D2D7;
  --ink-100:      #F2F2F7;

  --surface:      #FFFFFF;
  --bg:           #FAFAF7;

  --success-600:  #16A34A;
  --success-50:   #E7F8EE;
  --warning-600:  #D97706;
  --warning-50:   #FEF3C7;
  --danger-600:   #DC2626;
  --danger-50:    #FEE2E2;
  --info-600:     #2563EB;
  --info-50:      #E0EAFE;

  --r-sm:   8px;
  --r:      12px;
  --r-md:   16px;
  --r-lg:   20px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 999px;

  --shadow-1: 0 1px 3px rgba(10,10,10,.06), 0 1px 2px rgba(10,10,10,.04);
  --shadow-2: 0 4px 8px rgba(10,10,10,.05), 0 12px 32px rgba(10,10,10,.08);
  --shadow-3: 0 8px 20px rgba(10,10,10,.07), 0 36px 72px rgba(10,10,10,.1);
  --shadow-brand: 0 4px 24px rgba(43,80,226,.18);
  --shadow-accent: 0 6px 24px rgba(232,93,44,.3);

  --ease: cubic-bezier(.32,.72,0,1);
  --t:    .2s cubic-bezier(.32,.72,0,1);
  --t-lg: .36s cubic-bezier(.32,.72,0,1);

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --font-text:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-hindi:   "Hind", "Noto Sans Devanagari", var(--font-text);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }
ul, ol { list-style: none; }

#mesh-canvas { display: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink-100); }
::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-500); }

/* ====================================
   UTILITIES
   ==================================== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.text-gradient {
  background: linear-gradient(130deg, var(--brand-600) 0%, var(--brand-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section divider line */
.section-divider {
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-300), transparent);
  opacity: .45;
  pointer-events: none;
}

.section-header { text-align: center; margin-bottom: 64px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid rgba(43,80,226,.2);
  padding: 5px 14px 5px 10px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.eyebrow--light {
  color: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.eyebrow--light::before { background: var(--accent-500); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink-900);
}

.section-sub {
  font-size: 1.08rem;
  color: var(--ink-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.78;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-text);
  font-size: .93rem;
  font-weight: 600;
  padding: 12px 22px;
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), opacity var(--t);
  user-select: none;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: .01em;
  position: relative;
}
.btn:active { transform: scale(.97) !important; opacity: .9; }
.btn--sm { padding: 9px 18px; font-size: .84rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(43,80,226,.24), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-700);
  border-color: var(--ink-300);
}
.btn--ghost:hover {
  color: var(--ink-900);
  background: var(--ink-100);
  border-color: var(--ink-300);
}

.btn--outline {
  background: transparent;
  color: var(--ink-900);
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
  background: var(--brand-50);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-1px);
}

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  background: rgba(250,250,247,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
}
.navbar--scrolled {
  border-bottom-color: var(--ink-100);
  box-shadow: var(--shadow-2);
}

.navbar__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
}

.navbar__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar__logo-wrap {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  border: 1px solid rgba(43,80,226,.2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.navbar__logo { width: 28px; height: 28px; object-fit: contain; }
.navbar__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.navbar__name { font-family: var(--font-display); font-size: .97rem; font-weight: 700; color: var(--ink-900); }
.navbar__tagline { font-size: .64rem; color: var(--ink-500); font-weight: 500; letter-spacing: .02em; }

.navbar__nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-link {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: .87rem; font-weight: 500; color: var(--ink-500);
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--ink-900); background: var(--ink-100); }
.nav-link.active { color: var(--brand-600); }

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

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 7px; background: transparent;
  border-radius: var(--r-sm);
  transition: background var(--t);
  margin-left: auto;
}
.hamburger:hover { background: var(--ink-100); }
.hamburger__line {
  width: 20px; height: 2px;
  background: var(--ink-700);
  border-radius: 2px;
  transition: var(--t);
  display: block;
}
.hamburger.open .hamburger__line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open .hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger__line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(28px);
  border-top: 1px solid var(--ink-100);
  box-shadow: var(--shadow-3);
}
.mobile-menu.open { display: block; }
.mobile-menu__inner { padding: 8px 20px 24px; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.mobile-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: var(--r);
  font-size: .93rem; font-weight: 500; color: var(--ink-500);
  transition: var(--t);
}
.mobile-nav-link:hover { color: var(--ink-900); background: var(--ink-100); }
.mobile-nav-link__icon { font-size: .6rem; color: var(--brand-600); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.mobile-menu__footer {
  text-align: center; font-size: .75rem; color: var(--ink-500);
  padding-top: 12px; border-top: 1px solid var(--ink-100);
}

/* ====================================
   HERO
   ==================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 90px;
  overflow: hidden;
  background: var(--surface);
}

/* Subtle dot-grid texture */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(43,80,226,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 10%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 80% at 60% 10%, black 30%, transparent 80%);
}
/* Brand glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -140px; right: -100px;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,80,226,.07) 0%, transparent 58%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative; z-index: 2;
}

.hero__left { display: flex; flex-direction: column; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  width: fit-content;
  padding: 6px 16px 6px 10px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, rgba(43,80,226,.09), rgba(65,105,240,.05));
  border: 1px solid rgba(43,80,226,.24);
  font-size: .78rem; font-weight: 700;
  color: var(--brand-600);
  margin-bottom: 26px;
  letter-spacing: .02em;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success-600);
  box-shadow: 0 0 0 3px var(--success-50);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,.45); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin-bottom: 24px;
  color: var(--ink-900);
}
.hero__headline-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(130deg, var(--brand-700) 0%, var(--brand-500) 55%, var(--brand-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__headline-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400), transparent 80%);
  opacity: .38;
}

.hero__subtext {
  font-size: 1.08rem;
  color: var(--ink-500);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 34px;
}

/* Search bar */
.hero__search-bar {
  display: flex; align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--ink-300);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 26px;
  transition: border-color var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-2);
}
.hero__search-bar:focus-within {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px var(--brand-50), var(--shadow-2);
}
.hero__search-field {
  display: flex; align-items: center; gap: 10px;
  flex: 1; padding: 15px 18px;
  color: var(--ink-500); min-width: 0;
}
.hero__search-field svg { flex-shrink: 0; color: var(--ink-500); }
.hero__search-select, .hero__search-input {
  background: transparent; border: none; outline: none;
  font-family: var(--font-text); font-size: .92rem;
  color: var(--ink-900); width: 100%;
}
.hero__search-select option { background: #fff; color: var(--ink-900); }
.hero__search-input::placeholder { color: var(--ink-500); }
.hero__search-divider { width: 1px; height: 28px; background: var(--ink-300); flex-shrink: 0; }
.hero__search-btn { margin: 6px; border-radius: var(--r-sm) !important; flex-shrink: 0; padding: 13px 22px !important; }

/* Trust pills */
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-full);
  font-size: .79rem; font-weight: 600; color: var(--ink-700);
  transition: var(--t);
  box-shadow: var(--shadow-1);
}
.trust-pill:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
  background: var(--brand-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.trust-pill svg { color: var(--brand-600); }

/* Hero stats */
.hero__stats {
  display: flex; align-items: stretch;
  background: linear-gradient(135deg, rgba(43,80,226,.04), var(--surface));
  border: 1.5px solid rgba(43,80,226,.15);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-brand);
}
.hero-stat {
  flex: 1; padding: 18px 14px; text-align: center;
  border-right: 1px solid rgba(43,80,226,.1);
  transition: background var(--t);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: var(--brand-50); }
.hero-stat__num {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}
.hero-stat__label { font-size: .68rem; color: var(--ink-500); font-weight: 600; letter-spacing: .03em; }
.hero-stat__sep { width: 0; }

/* Hero right */
.hero__right { position: relative; }
.hero__visual-stack { position: relative; }

.hero__main-card {
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-3);
  position: relative;
}
.hero__main-img { width: 100%; height: 480px; object-fit: cover; }
.hero__main-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,64,175,.4) 0%, rgba(0,0,0,.08) 40%, transparent 70%);
  pointer-events: none;
}

/* Floating widgets */
.hero-widget {
  position: absolute;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(10,10,10,.12), 0 2px 8px rgba(10,10,10,.06);
  padding: 13px 16px;
  z-index: 10;
  animation: widget-bob 5s ease-in-out infinite;
}
@keyframes widget-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

.hero-widget--job { top: -22px; left: -60px; width: 244px; }
.hw-job__header {
  display: flex; align-items: center; gap: 7px;
  font-size: .72rem; color: var(--ink-500); margin-bottom: 7px;
}
.hw-job__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success-600);
  animation: dot-pulse 2s ease-in-out infinite;
}
.hw-job__time { margin-left: auto; }
.hw-job__title { font-size: .93rem; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.hw-job__meta { font-size: .73rem; color: var(--ink-500); margin-bottom: 9px; }
.hw-job__responses { display: flex; align-items: center; gap: 9px; font-size: .73rem; color: var(--success-600); font-weight: 600; }
.hw-avatars { display: flex; }
.hw-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  font-size: .6rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid rgba(255,255,255,.95);
  margin-right: -7px;
}

.hero-widget--worker {
  bottom: 52px; right: -52px;
  display: flex; align-items: center; gap: 11px;
  animation-delay: -2.2s;
}
.hw-worker__avatar { font-size: 1.9rem; }
.hw-worker__name { font-size: .87rem; font-weight: 700; color: var(--ink-900); }
.hw-worker__trade { font-size: .72rem; color: var(--ink-500); }
.hw-worker__rating { font-size: .72rem; color: var(--warning-600); }
.hw-worker__rating span { color: var(--ink-500); font-size: .68rem; }
.hw-worker__badge {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  background: var(--success-50);
  border: 1px solid rgba(22,163,74,.24);
  border-radius: var(--r-full);
  font-size: .68rem; font-weight: 700; color: var(--success-600);
  white-space: nowrap;
}
.hw-worker__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success-600);
  animation: dot-pulse 2s ease-in-out infinite;
}

/* Phone mockup */
.hero__phone {
  position: absolute;
  top: 50%; left: -56px;
  transform: translateY(-50%);
  width: 144px;
  background: #111;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 32px 80px rgba(0,0,0,.24),
    0 0 0 1px rgba(255,255,255,.1),
    inset 0 0 0 1px rgba(255,255,255,.06);
  animation: widget-bob 7s ease-in-out infinite;
  animation-delay: -3.8s;
  z-index: 11;
}
.hero__phone-screen {
  width: 100%;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: .36; z-index: 2;
}
.hero__scroll-hint span { font-size: .7rem; color: var(--ink-500); letter-spacing: .12em; text-transform: uppercase; }
.hero__scroll-mouse {
  width: 20px; height: 32px;
  border: 1.5px solid var(--ink-300);
  border-radius: 10px;
  display: flex; justify-content: center; padding-top: 5px;
}
.hero__scroll-wheel {
  width: 3px; height: 6px;
  background: var(--ink-300);
  border-radius: 2px;
  animation: wheel-scroll 1.6s ease-in-out infinite;
}
@keyframes wheel-scroll {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ====================================
   TICKER BAR
   ==================================== */
.ticker-bar {
  background: var(--brand-700);
  overflow: hidden;
  padding: 13px 0;
  position: relative; z-index: 2;
}
.ticker-bar::before, .ticker-bar::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 100px; z-index: 1;
  pointer-events: none;
}
.ticker-bar::before { left: 0; background: linear-gradient(90deg, var(--brand-700), transparent); }
.ticker-bar::after  { right: 0; background: linear-gradient(-90deg, var(--brand-700), transparent); }

.ticker__track {
  display: flex; align-items: center;
  width: max-content;
  animation: ticker-scroll 44s linear infinite;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__item {
  font-size: .83rem; color: rgba(255,255,255,.8);
  padding: 0 30px; white-space: nowrap;
}
.ticker__item strong { color: #C7D6FF; font-weight: 600; }
.ticker__sep { color: rgba(255,255,255,.22); font-size: 1.1rem; padding: 0 4px; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====================================
   FOR WHOM
   ==================================== */
.for-whom {
  padding: 112px 0;
  background: var(--bg);
  position: relative; z-index: 1;
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.role-card {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1.5px solid var(--ink-100);
  background: var(--surface);
  transition: transform var(--t-lg), box-shadow var(--t-lg), border-color var(--t-lg);
  box-shadow: var(--shadow-1);
}
.role-card:hover {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-3);
  transform: translateY(-6px);
}
.role-card--worker { border-color: rgba(232,93,44,.15); }
.role-card--worker:hover { border-color: var(--accent-600); }

.role-card__bg { position: absolute; inset: 0; }
.role-card__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.12) saturate(.45);
  transition: filter .6s ease;
}
.role-card:hover .role-card__bg-img { filter: brightness(.19) saturate(.65); }
.role-card__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(30,64,175,.35) 0%, rgba(0,0,0,.65) 100%);
}

.role-card__body {
  position: relative; z-index: 2;
  padding: 44px 38px;
}

.role-card__icon { font-size: 2.8rem; margin-bottom: 18px; }
.role-card__title {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 800; margin-bottom: 12px;
  color: #fff; letter-spacing: -.025em;
}
.role-card__desc { font-size: .95rem; color: rgba(255,255,255,.7); line-height: 1.78; margin-bottom: 28px; }

.role-card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.role-card__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .9rem; color: rgba(255,255,255,.85);
}
.role-card__list li span {
  width: 22px; height: 22px;
  background: var(--success-50);
  border: 1px solid rgba(22,163,74,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 900; color: var(--success-600);
  flex-shrink: 0;
}

/* ====================================
   FEATURES
   ==================================== */
.features {
  padding: 112px 0;
  background: var(--surface);
  position: relative; z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 30px;
  transition: transform var(--t-lg), box-shadow var(--t-lg), border-color var(--t-lg);
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  box-shadow: var(--shadow-1);
}
/* Coloured top accent bar — animates in on hover */
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c, var(--brand-600)), color-mix(in srgb, var(--c, var(--brand-600)) 40%, transparent));
  opacity: 0;
  transition: opacity var(--t);
  border-radius: 0 0 2px 2px;
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3);
  border-color: rgba(210,210,215,.7);
}
.feat-card:hover::before { opacity: 1; }

.feat-card--wide { grid-column: span 3; display: flex; gap: 28px; }
.feat-card--wide .feat-card__content { flex: 1; min-width: 0; }
.feat-card--wide .feat-card__visual {
  flex-shrink: 0; width: 160px;
  display: flex; align-items: center; justify-content: center;
}

.feat-card__icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--c, var(--brand-600)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--brand-600)) 22%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--c, var(--brand-600));
  margin-bottom: 18px;
  transition: transform var(--t-lg), box-shadow var(--t);
}
.feat-card:hover .feat-card__icon-wrap {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c, var(--brand-600)) 22%, transparent);
}

.feat-card__tag {
  font-size: .67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--c, var(--brand-600));
  background: color-mix(in srgb, var(--c, var(--brand-600)) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--brand-600)) 20%, transparent);
  padding: 3px 11px; border-radius: var(--r-full);
  display: inline-block; margin-bottom: 12px;
}
.feat-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--ink-900);
  letter-spacing: -.015em;
}
.feat-card__desc { font-size: .87rem; color: var(--ink-500); line-height: 1.78; margin-bottom: 18px; }
.feat-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.feat-badge {
  font-size: .71rem; font-weight: 600;
  color: var(--ink-700);
  background: var(--ink-100);
  border: 1px solid var(--ink-300);
  padding: 4px 11px; border-radius: var(--r-full);
}

/* Verification visual */
.verification-visual {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.vv-step {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--success-50), #DCFCE7);
  border: 2px solid rgba(22,163,74,.32);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 4px 16px rgba(22,163,74,.14);
  transition: transform var(--t-lg);
}
.feat-card:hover .vv-step { transform: scale(1.06); }
.vv-step__check { font-size: 1.25rem; color: var(--success-600); font-weight: 900; line-height: 1; }
.vv-step__label { font-size: .57rem; color: var(--success-600); font-weight: 700; letter-spacing: .05em; }
.vv-connector { width: 2px; height: 14px; background: linear-gradient(to bottom, rgba(22,163,74,.3), rgba(22,163,74,.08)); border-radius: 2px; }

/* Dashboard preview */
.dash-preview {
  background: linear-gradient(145deg, var(--bg), var(--surface));
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 16px; width: 142px;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: var(--shadow-2);
}
.dash-preview__row { display: flex; justify-content: space-between; align-items: center; font-size: .73rem; }
.dash-preview__label { color: var(--ink-500); }
.dash-preview__val { font-weight: 700; font-size: .86rem; color: var(--ink-900); }
.dash-preview__val--green { color: var(--success-600); }
.dash-preview__bar-wrap { background: var(--ink-100); border-radius: var(--r-full); height: 6px; margin-top: 4px; overflow: hidden; }
.dash-preview__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  border-radius: var(--r-full);
}

/* ====================================
   HOW IT WORKS
   ==================================== */
.hiw {
  padding: 112px 0;
  background: var(--bg);
  position: relative; z-index: 1;
}

.hiw__toggle {
  display: flex; gap: 6px;
  background: var(--ink-100);
  border-radius: var(--r-lg);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 56px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.05);
}
.hiw__tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 26px;
  border-radius: var(--r);
  font-size: .88rem; font-weight: 600;
  color: var(--ink-500);
  transition: var(--t);
  background: transparent;
}
.hiw__tab--active {
  background: var(--surface);
  color: var(--ink-900);
  box-shadow: var(--shadow-2);
}
.hiw__tab:not(.hiw__tab--active):hover { color: var(--ink-900); }

.hiw__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
/* Gradient connector line between steps */
.hiw__steps::before {
  content: '';
  position: absolute;
  top: 74px;
  left: calc(16.67% + 30px);
  right: calc(16.67% + 30px);
  height: 1.5px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400), var(--brand-500));
  opacity: .2;
  pointer-events: none;
  border-radius: 2px;
}
.hiw__steps--hidden { display: none; }

.hiw-step {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.hiw-step__arrow {
  position: absolute; top: 70px; right: -24px;
  font-size: 1.1rem; color: var(--ink-300); z-index: 1;
}
.hiw-step:last-child .hiw-step__arrow { display: none; }

.hiw-step__num {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink-300);
  margin-bottom: 18px;
  transition: -webkit-text-stroke-color var(--t);
  position: relative; z-index: 1;
}
.hiw-step:hover .hiw-step__num { -webkit-text-stroke-color: var(--brand-600); }

.hiw-step__body {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  width: 100%;
  transition: var(--t-lg);
  box-shadow: var(--shadow-1);
}
.hiw-step:hover .hiw-step__body {
  border-color: var(--brand-600);
  transform: translateY(-5px);
  box-shadow: var(--shadow-brand);
}
.hiw-step__icon { font-size: 2.2rem; margin-bottom: 14px; }
.hiw-step__title {
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; color: var(--ink-900);
  letter-spacing: -.015em;
}
.hiw-step__desc { font-size: .86rem; color: var(--ink-500); line-height: 1.78; margin-bottom: 14px; }
.hiw-step__time {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid rgba(43,80,226,.18);
  padding: 4px 12px; border-radius: var(--r-full);
}

/* ====================================
   TRADES
   ==================================== */
.trades {
  padding: 112px 0;
  background: var(--surface);
  position: relative; z-index: 1;
}

.trades-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.trade-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 9px;
  padding: 28px 14px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  text-decoration: none;
  transition: var(--t-lg);
  cursor: pointer;
  box-shadow: var(--shadow-1);
}
.trade-card:hover {
  border-color: var(--brand-600);
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  background: var(--brand-50);
}
.trade-card--more { border-style: dashed; border-color: var(--ink-300); }
.trade-card--more:hover { border-style: solid; border-color: var(--brand-600); }

/* Emoji in a coloured circle */
.trade-card__emoji {
  width: 58px; height: 58px;
  border-radius: var(--r-lg);
  background: var(--ink-100);
  border: 1px solid var(--ink-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.95rem;
  transition: transform var(--t-lg), background var(--t), border-color var(--t);
}
.trade-card:hover .trade-card__emoji {
  transform: scale(1.14) rotate(-7deg);
  background: rgba(43,80,226,.1);
  border-color: rgba(43,80,226,.18);
}
.trade-card__name { font-size: .88rem; font-weight: 700; color: var(--ink-900); }
.trade-card__count { font-size: .7rem; color: var(--ink-500); }
.trade-card__availability {
  display: flex; align-items: center; gap: 5px;
  font-size: .69rem; font-weight: 700; color: var(--success-600);
}
.avail-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success-600);
  animation: dot-pulse 2s ease-in-out infinite;
}

/* ====================================
   TESTIMONIALS
   ==================================== */
.testimonials {
  padding: 112px 0;
  background: var(--bg);
  position: relative; z-index: 1;
}

.overall-rating {
  display: flex; align-items: center; gap: 36px;
  background: var(--surface);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 28px 40px;
  margin-bottom: 56px;
  width: fit-content;
  margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow-2);
}
.overall-rating__score {
  font-family: var(--font-display);
  font-size: 5.2rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.overall-rating__stars { font-size: 1.3rem; margin-bottom: 5px; }
.overall-rating__count { font-size: .82rem; color: var(--ink-500); margin-bottom: 14px; }
.overall-rating__bars { display: flex; flex-direction: column; gap: 5px; }
.rbar { display: flex; align-items: center; gap: 8px; font-size: .7rem; color: var(--ink-500); }
.rbar:first-child { color: var(--warning-600); }
.rbar__track { width: 110px; height: 6px; background: var(--ink-100); border-radius: var(--r-full); overflow: hidden; }
.rbar__fill { height: 100%; background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); border-radius: var(--r-full); }
.rbar span:last-child { width: 30px; text-align: right; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: var(--t-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
/* Large decorative quotation mark */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 8px; right: 16px;
  font-size: 8rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  color: var(--ink-300);
  opacity: .2;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.testi-card:hover {
  border-color: var(--ink-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}
.testi-card--highlighted {
  border-color: rgba(43,80,226,.28);
  background: linear-gradient(160deg, var(--brand-50), var(--surface));
}
.testi-card--highlighted::before { color: var(--brand-600); opacity: .1; }

.testi-card__badge {
  position: absolute; top: 18px; right: 18px;
  font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid rgba(43,80,226,.2);
  padding: 4px 12px; border-radius: var(--r-full);
  z-index: 2;
}
.testi-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.testi-card__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  font-size: .84rem; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-1);
}
.testi-card__name { font-size: .93rem; font-weight: 700; margin-bottom: 2px; color: var(--ink-900); }
.testi-card__meta { font-size: .74rem; color: var(--ink-500); }
.testi-card__stars { margin-left: auto; font-size: .9rem; flex-shrink: 0; }

.testi-card__quote {
  font-size: .88rem; color: var(--ink-700);
  line-height: 1.82; font-style: italic;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}

.testi-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--ink-100); padding-top: 16px;
}
.testi-card--highlighted .testi-card__footer { border-top-color: rgba(43,80,226,.12); }
.testi-card__job { font-size: .78rem; font-weight: 600; color: var(--ink-700); }
.testi-card__date { font-size: .72rem; color: var(--ink-500); }

/* ====================================
   FAQ
   ==================================== */
.faq {
  padding: 112px 0;
  background: var(--surface);
  position: relative; z-index: 1;
}

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-col { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-1);
}
.faq-item.open {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px var(--brand-50), var(--shadow-1);
}

.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
  background: transparent; font-family: var(--font-text);
  font-size: .93rem; font-weight: 600;
  color: var(--ink-900); text-align: left;
  transition: background var(--t);
}
.faq-item__q:hover { background: var(--bg); }
.faq-item__icon { flex-shrink: 0; transition: transform var(--t); color: var(--ink-500); }
.faq-item.open .faq-item__icon { transform: rotate(180deg); color: var(--brand-600); }

.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s ease;
  padding: 0 22px;
}
.faq-item__a.open { max-height: 240px; padding: 0 22px 20px; }
.faq-item__a p { font-size: .88rem; color: var(--ink-500); line-height: 1.82; }

/* ====================================
   FINAL CTA
   ==================================== */
.final-cta { position: relative; z-index: 1; }
.final-cta__inner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(160deg, #15181F 0%, #0D0F14 100%);
}

/* Ambient glow layers — warm/neutral, no blue wash */
.final-cta__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% -5%, rgba(255,255,255,.05), transparent),
    radial-gradient(ellipse 38% 32% at 88% 98%, rgba(255,107,53,.14), transparent),
    radial-gradient(ellipse 32% 28% at 8% 78%, rgba(255,255,255,.04), transparent);
  pointer-events: none;
}
/* Floating orb animation */
.final-cta__inner::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 60%);
  top: -260px; left: -180px;
  animation: orb-drift 14s ease-in-out infinite;
  pointer-events: none;
}
.final-cta__inner::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.08) 0%, transparent 60%);
  bottom: -200px; right: -100px;
  animation: orb-drift 18s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(60px, 40px) scale(1.08); }
  66%       { transform: translate(-30px, 80px) scale(.94); }
}

.final-cta__content { position: relative; z-index: 2; text-align: center; }

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 16px;
  color: #fff;
}
.final-cta__title .text-gradient {
  background: linear-gradient(130deg, var(--accent-500), #FFB38A 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.final-cta__sub {
  font-size: 1.08rem; color: rgba(255,255,255,.78); line-height: 1.78;
  max-width: 520px; margin: 0 auto 52px;
}

.final-cta__cards {
  display: flex; gap: 18px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 38px;
}
.cta-card {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-xl);
  padding: 22px 28px;
  min-width: 320px;
  transition: var(--t-lg);
}
.cta-card:hover {
  background: rgba(255,255,255,.17);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,.14);
}
.cta-card--alt { border-color: rgba(255,255,255,.1); }
.cta-card__icon { font-size: 2.2rem; flex-shrink: 0; }
.cta-card__text { flex: 1; text-align: left; }
.cta-card__text strong { display: block; font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cta-card__text span { font-size: .82rem; color: rgba(255,255,255,.7); }

.final-cta__guarantees {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  font-size: .83rem; color: rgba(255,255,255,.6);
}
.final-cta__guarantees div { display: flex; align-items: center; gap: 7px; }
.final-cta__guarantees svg { color: #34D399; flex-shrink: 0; }

/* ====================================
   FOOTER
   ==================================== */
.footer { position: relative; z-index: 1; }
.footer__top {
  padding: 72px 0 48px;
  background: var(--ink-900);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
  gap: 52px;
}

.footer__logo-link { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer__logo { width: 36px; height: 36px; object-fit: contain; }
.footer__brand-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer__tagline-text { font-size: .88rem; color: rgba(255,255,255,.48); line-height: 1.78; margin-bottom: 22px; }

.footer__contact { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.footer__contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; color: rgba(255,255,255,.46);
  transition: color var(--t);
}
.footer__contact-item:hover { color: rgba(255,255,255,.78); }
.footer__contact-item svg { flex-shrink: 0; color: var(--brand-500); }

.footer__socials { display: flex; gap: 8px; }
.footer__social {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.46);
  transition: var(--t); text-decoration: none;
}
.footer__social:hover {
  background: var(--brand-50);
  border-color: var(--brand-600);
  color: var(--brand-600);
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: .77rem; font-weight: 700; color: rgba(255,255,255,.9);
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: .1em;
}
.footer__nav-list { display: flex; flex-direction: column; gap: 11px; }
.footer__nav-link {
  font-size: .88rem; color: rgba(255,255,255,.46);
  transition: color var(--t);
  display: flex; align-items: center; gap: 7px;
}
.footer__nav-link:hover { color: rgba(255,255,255,.88); }
.footer__badge {
  font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--success-600); background: var(--success-50);
  border: 1px solid rgba(22,163,74,.22);
  padding: 2px 7px; border-radius: var(--r-full);
}

.footer__bottom {
  background: rgba(0,0,0,.35);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer__bottom p { font-size: .77rem; color: rgba(255,255,255,.3); }
.footer__bottom-badges { display: flex; gap: 14px; }
.footer-cert {
  font-size: .71rem; font-weight: 600; color: rgba(255,255,255,.36);
  display: flex; align-items: center; gap: 4px;
}

/* ====================================
   BACK TO TOP
   ==================================== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 46px; height: 46px; border-radius: var(--r);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
  transition: var(--t);
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(43,80,226,.32);
}

/* ====================================
   REVEAL ANIMATIONS
   ==================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity .65s ease, transform .65s cubic-bezier(.22,.68,0,1.1);
}
[data-reveal="up"]    { transform: translateY(34px); }
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(.88); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal] { transition-delay: var(--d, 0s); }

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .feat-card--wide { grid-column: span 4; }
  .feat-card { grid-column: span 2; }
  .trades-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__phone { display: none; }
}

@media (max-width: 900px) {
  /* Hero — correct padding so content isn't 174px from top */
  .hero { padding: 88px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__right { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__visual-stack .hero-widget--job { top: -10px; left: 0; }
  .hero__visual-stack .hero-widget--worker { bottom: 20px; right: 0; }
  .hero__main-img { height: 300px; }

  /* Section padding */
  .for-whom, .features, .hiw, .trades, .testimonials, .faq { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  /* Layouts */
  .roles-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feat-card, .feat-card--wide { grid-column: span 2; }
  .feat-card--wide { flex-direction: column; }
  .feat-card--wide .feat-card__visual { width: 100%; }
  .hiw__steps { grid-template-columns: 1fr; }
  .hiw__steps::before { display: none; }
  .hiw-step__arrow { display: none; }
  .testi-grid { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand-col { grid-column: span 2; }
}

@media (max-width: 680px) {
  /* Navbar */
  .navbar__nav { display: none; }
  .navbar__cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 76px 0 52px; }
  .hero__grid { gap: 32px; }
  .hero__main-img { height: 240px; }
  .hero__headline { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .hero__subtext { font-size: .95rem; margin-bottom: 24px; }
  .hero__badge { font-size: .72rem; padding: 5px 12px 5px 8px; margin-bottom: 18px; }

  /* Search bar — stack vertically */
  .hero__search-bar { flex-direction: column; border-radius: var(--r-md); }
  .hero__search-divider { width: 100%; height: 1px; }
  .hero__search-field { width: 100%; padding: 14px 16px; }
  .hero__search-btn { width: calc(100% - 12px); justify-content: center; }

  /* Trust pills */
  .hero__trust { gap: 6px; margin-bottom: 24px; }

  /* Stats — vertical stack */
  .hero__stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(43,80,226,.1); padding: 14px 20px; text-align: left; display: flex; align-items: center; justify-content: space-between; flex-direction: row; gap: 8px; }
  .hero-stat:last-child { border-bottom: none; }
  .hero-stat__num { font-size: 1.45rem; margin-bottom: 0; }
  .hero-stat__label { font-size: .7rem; text-align: right; }

  /* Floating widgets — hide on small phones */
  .hero-widget--job, .hero-widget--worker { display: none; }

  /* Sections */
  .for-whom, .features, .hiw, .trades, .testimonials, .faq { padding: 64px 0; }
  .section-title { font-size: clamp(1.65rem, 6vw, 2.1rem); }
  .section-header { margin-bottom: 36px; }
  .section-sub { font-size: .93rem; }

  /* Role cards */
  .role-card__body { padding: 32px 24px; }
  .role-card__title { font-size: 1.5rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feat-card, .feat-card--wide { grid-column: span 1; }

  /* Trades */
  .trades-grid { grid-template-columns: repeat(2, 1fr); }

  /* Ratings */
  .overall-rating { flex-direction: column; text-align: center; width: 100%; padding: 24px 20px; gap: 20px; }
  .overall-rating__bars { align-items: center; }
  .rbar__track { width: 100px; }

  /* HIW toggle — full width */
  .hiw__toggle { width: 100%; }
  .hiw__tab { flex: 1; justify-content: center; padding: 10px 12px; font-size: .82rem; }
  .hiw-step__body { padding: 24px 20px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand-col { grid-column: span 1; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__top { padding: 52px 0 36px; }

  /* Final CTA */
  .final-cta__inner { padding: 80px 0; }
  .final-cta__sub { font-size: .97rem; margin-bottom: 36px; }
  .final-cta__cards { flex-direction: column; align-items: stretch; }
  .cta-card { min-width: auto; padding: 20px 22px; }
  .final-cta__guarantees { gap: 12px; font-size: .78rem; }
}

@media (max-width: 480px) {
  /* Hero — tighter on small phones */
  .hero { padding: 72px 0 44px; }
  .hero__main-img { height: 210px; }
  .hero__headline { line-height: 1.1; }
  .hero__subtext { font-size: .9rem; }

  /* Stats row layout becomes compact column again */
  .hero-stat { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 20px; }
  .hero-stat__num { font-size: 1.35rem; }
  .hero-stat__label { text-align: left; font-size: .65rem; }

  /* HIW toggle wraps */
  .hiw__toggle { flex-direction: column; gap: 4px; }
  .hiw__tab { justify-content: flex-start; padding: 12px 16px; }
  .hiw__tab--active { background: var(--surface); }

  /* Trades tighter */
  .trade-card { padding: 20px 10px; }
  .trade-card__emoji { width: 48px; height: 48px; font-size: 1.6rem; }

  /* CTA card stacked */
  .cta-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-card__text { text-align: left; }
  .cta-card .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero { padding: 68px 0 40px; }
  .hero__trust { gap: 5px; }
  .trust-pill { font-size: .7rem; padding: 5px 10px; }
  .hero-stat__num { font-size: 1.2rem; }
  .section-title { font-size: 1.5rem; }
  .navbar__inner { padding: 12px 16px; }
}

/* ====================================
   ENHANCEMENTS — active nav, button shine, motion-safety
   ==================================== */

/* Active nav link — blue pill + animated underline (matches app blue) */
.nav-link {
  position: relative;
  transition: color var(--t), background var(--t);
}
.nav-link.active {
  color: var(--brand-600);
  font-weight: 600;
  background: var(--brand-50);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
}

/* Primary button — glossy light sweep on hover */
.btn--primary { overflow: hidden; }
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  transition: left .55s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after { left: 140%; }

/* Tap feedback on touch devices */
@media (hover: none) {
  .trade-card:active, .role-card:active, .feat-card:active, .cta-card:active { transform: scale(.985); }
}

/* Respect reduced-motion — kill ambient/looping animation, keep usable */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
