/* ============================================
   STAFFMATCHLY — Premium Design System v2
   Inspired by: workable.com, hirey.com, g2.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&family=Syne:wght@700;800&display=swap');

/* ============ CSS TOKENS ============ */
:root {
  --blue-50: #EEF2FF;
  --blue-100: #E0E7FF;
  --blue-500: #3B5BFF;
  --blue-600: #1B4FD8;
  --blue-700: #1440B8;
  --blue-900: #0D1F6E;

  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --green-400: #22D3A4;
  --green-500: #00C78C;

  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --white: #FFFFFF;
  --black: #060B18;

  /* Brand Gradients */
  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--teal-400) 100%);
  --grad-hero: linear-gradient(160deg, #060E35 0%, #0D2060 35%, #0B4D80 70%, #07675C 100%);
  --grad-cta: linear-gradient(135deg, #1440B8 0%, #0D8C78 100%);
  --grad-text: linear-gradient(90deg, var(--blue-500), var(--teal-400));
  --grad-subtle: linear-gradient(180deg, var(--slate-50) 0%, #fff 100%);
  --grad-card: linear-gradient(145deg, rgba(59, 91, 255, 0.05), rgba(20, 184, 166, 0.05));

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing scale */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.25rem;
  --s6: 1.5rem;
  --s7: 1.75rem;
  --s8: 2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;
  --s32: 8rem;

  /* Border radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --sh-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --sh-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --sh-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --sh-blue: 0 8px 30px rgba(27, 79, 216, 0.28);
  --sh-glow: 0 0 60px rgba(59, 91, 255, 0.2);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 280ms var(--ease);
  --t-slow: 450ms var(--ease-out);

  --z-nav: 100;
  --z-modal: 200;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

::selection {
  background: rgba(59, 91, 255, 0.15);
  color: var(--blue-600);
}

/* ============ LAYOUT ============ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--s6);
}

.section {
  padding: var(--s24) 0;
}

.section-sm {
  padding: var(--s16) 0;
}

/* ============ TYPOGRAPHY ============ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate-900);
}

.t-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
  border: 1.5px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--sh-blue);
}

.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(27, 79, 216, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-gradient {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-blue);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(27, 79, 216, 0.4);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--blue-600);
  box-shadow: var(--sh-md);
  border-color: var(--slate-200);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
  border-color: var(--blue-100);
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--slate-200);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* Ripple on buttons */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:active::after {
  opacity: 1;
}

/* ============ NAVBAR ============ */
/* CRITICAL FIX: mobile menu hidden by default on ALL screen sizes */
.mobile-menu {
  display: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 0;
  transition: all var(--t-slow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: var(--s8);
}

/* Transparent on hero — subtle dark scrim so white links/logo are always readable */
.navbar.nav-transparent {
  background: linear-gradient(to bottom,
      rgba(6, 14, 53, 0.55) 0%,
      rgba(6, 14, 53, 0.0) 100%);
  backdrop-filter: blur(0px);
}

/* Scrolled state */
.navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07), var(--sh-sm);
}

.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.navbar-logo img {
  height: 72px;
  width: auto;
  transition: filter var(--t-base);
}

/* Logo invert on dark hero */
.navbar:not(.nav-scrolled) .navbar-logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.nav-link {
  padding: var(--s2) var(--s4);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--t-fast);
}

/* white links over dark hero */
.navbar:not(.nav-scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.nav-scrolled) .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* dark links when scrolled */
.navbar.nav-scrolled .nav-link {
  color: var(--slate-600);
}

.navbar.nav-scrolled .nav-link:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--t-fast);
}

.navbar:not(.nav-scrolled) .nav-phone {
  color: rgba(255, 255, 255, 0.85);
}

.navbar.nav-scrolled .nav-phone {
  color: var(--slate-700);
}

.navbar.nav-scrolled .nav-phone:hover {
  color: var(--blue-600);
}

/* hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  cursor: pointer;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: all var(--t-base);
}

.navbar:not(.nav-scrolled) .menu-toggle span {
  background: rgba(255, 255, 255, 0.9);
}

.navbar.nav-scrolled .menu-toggle span {
  background: var(--slate-700);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links,
  .nav-phone {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: calc(var(--z-nav) - 1);
    padding: 90px var(--s6) var(--s8);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-slow);
  }

  .mobile-menu.open {
    display: block;
    transform: translateX(0);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--s8);
    border-top: 1px solid var(--slate-100);
  }

  .mobile-nav-link {
    display: block;
    padding: var(--s4) var(--s2);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-800);
    border-bottom: 1px solid var(--slate-100);
    transition: color var(--t-fast), padding-left var(--t-base);
  }

  .mobile-nav-link:hover {
    color: var(--blue-600);
    padding-left: var(--s4);
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
  }

  .mobile-cta .btn {
    justify-content: center;
    border-radius: var(--r-lg);
  }
}

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

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(59, 91, 255, 0.25);
  top: -100px;
  left: -100px;
  animation: orbFloat1 14s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(20, 184, 166, 0.2);
  bottom: -80px;
  right: -80px;
  animation: orbFloat2 18s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(34, 211, 164, 0.15);
  top: 40%;
  left: 50%;
  animation: orbFloat3 11s ease-in-out infinite;
}

/* grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* noise texture */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: var(--s20) 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: var(--r-full);
  padding: var(--s2) var(--s4);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.03em;
  margin-bottom: var(--s6);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  animation: blink 2.5s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--s6);
}

.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 6px;
  background: linear-gradient(90deg, var(--green-400), var(--teal-400));
  border-radius: 3px;
  opacity: 0.7;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--s10);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s12);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--s5);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
}

.proof-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 211, 164, 0.25);
  border: 1.5px solid rgba(34, 211, 164, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Floating stats (right side) */
.hero-float-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.float-cards-wrap {
  position: relative;
  width: 340px;
  height: 420px;
}

.f-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-xl);
  padding: var(--s5) var(--s6);
  color: #fff;
  will-change: transform;
}

.f-card-1 {
  top: 30px;
  left: 20px;
  right: 20px;
  animation: flt 7s ease-in-out infinite;
}

.f-card-2 {
  bottom: 60px;
  left: 0;
  width: 200px;
  animation: flt 6s ease-in-out infinite 0.8s;
}

.f-card-3 {
  bottom: 20px;
  right: 0;
  width: 170px;
  animation: flt 8s ease-in-out infinite 1.6s;
}

.f-card-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s2);
}

.f-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.f-card-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.f-card-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s3);
}

.f-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.f-card-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 211, 164, 0.3);
  border: 1.5px solid rgba(34, 211, 164, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ LOGO BAR ============ */
.logo-bar {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  padding: var(--s8) 0;
}

.logo-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--s12);
  flex-wrap: wrap;
  justify-content: center;
}

.logo-bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  white-space: nowrap;
}

.logo-chip {
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: var(--slate-400);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}

.logo-chip:hover {
  color: var(--slate-600);
}

.logo-chip-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ SECTION HEADER ============ */
.sec-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-600);
  margin-bottom: var(--s4);
}

.sec-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--s5);
}

.sec-desc {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.75;
  max-width: 580px;
}

.sec-header {
  margin-bottom: var(--s16);
}

.sec-header-center {
  text-align: center;
}

.sec-header-center .sec-desc {
  margin: 0 auto;
}

/* ============ HOW IT WORKS ============ */
.hiw-bg {
  background: #fff;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  position: relative;
}

.hiw-connector {
  position: absolute;
  top: 40px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-400));
  opacity: 0.15;
}

.hiw-step {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--r-xl);
  padding: var(--s8) var(--s6);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--t-slow);
  box-shadow: var(--sh-xs);
}

.hiw-step:hover {
  border-color: rgba(59, 91, 255, 0.2);
  box-shadow: var(--sh-lg);
  transform: translateY(-6px);
}

.hiw-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s5);
  box-shadow: var(--sh-blue);
  position: relative;
}

/* Small arrow between steps */
.hiw-step:not(:last-child) .hiw-num::after {
  content: '';
  position: absolute;
  right: -42px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: var(--blue-100);
}

.hiw-step-icon {
  margin: 0 auto var(--s4);
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}

.hiw-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--s3);
}

.hiw-step p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ============ SERVICES ============ */
.services-bg {
  background: var(--slate-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s5);
}

.svc-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--r-xl);
  padding: var(--s10);
  transition: all var(--t-slow);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--t-base);
}

.svc-card:hover {
  border-color: rgba(59, 91, 255, 0.15);
  box-shadow: var(--sh-xl);
  transform: translateY(-5px);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-card-content {
  position: relative;
}

.svc-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s6);
  position: relative;
}

.svc-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.svc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--s4);
}

.svc-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--s3);
}

.svc-card p {
  color: var(--slate-500);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin-bottom: var(--s6);
}

.svc-features {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  border-top: 1px solid var(--slate-100);
  padding-top: var(--s5);
  margin-top: var(--s2);
}

.svc-feat {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.svc-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============ WHY US ============ */
.why-bg {
  background: #fff;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}

/* Left – visual */
.why-visual-wrap {
  position: relative;
}

.why-dark-card {
  background: var(--grad-hero);
  border-radius: var(--r-2xl);
  padding: var(--s10);
  position: relative;
  overflow: hidden;
}

.why-dark-card::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  top: -100px;
  right: -100px;
}

.why-dark-card::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(59, 91, 255, 0.2);
  filter: blur(60px);
  bottom: -40px;
  left: -40px;
}

.why-dark-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--s4);
  position: relative;
  z-index: 1;
}

.why-dark-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--s8);
  position: relative;
  z-index: 1;
}

.why-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s3);
  position: relative;
  z-index: 1;
}

.why-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s4);
  text-align: center;
  backdrop-filter: blur(8px);
}

.why-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 3px;
}

.why-stat-lbl {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Right – reasons */
.reasons-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.reason {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--r-xl);
  transition: all var(--t-base);
  cursor: default;
}

.reason:hover {
  border-color: rgba(59, 91, 255, 0.2);
  box-shadow: var(--sh-md);
  transform: translateX(4px);
}

.reason-ico {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  transition: background var(--t-base);
}

.reason:hover .reason-ico {
  background: var(--grad-brand);
  color: #fff;
}

.reason-body h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 3px;
}

.reason-body p {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ============ INDUSTRIES ============ */
.ind-bg {
  background: var(--slate-900);
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.ind-card {
  border-radius: var(--r-2xl);
  padding: var(--s10) var(--s8);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-slow);
}

.ind-card:hover {
  transform: scale(1.03);
}

.ind-card-bg {
  position: absolute;
  inset: 0;
}

.ind-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.1) 0%, rgba(6, 11, 24, 0.75) 100%);
}

.ind-card.ins .ind-card-bg {
  background: linear-gradient(145deg, #1B4FD8 0%, #0EA5E9 100%);
}

.ind-card.leg .ind-card-bg {
  background: linear-gradient(145deg, #5B21B6 0%, #1B4FD8 100%);
}

.ind-card.hlt .ind-card-bg {
  background: linear-gradient(145deg, #0E7490 0%, #059669 100%);
}

/* floating shapes inside industry cards */
.ind-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  top: -50px;
  right: -50px;
}

.ind-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: 40px;
  right: 30px;
}

.ind-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.ind-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s5);
}

.ind-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: var(--s2);
}

.ind-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

/* ============ CTA BANNER ============ */
.cta-band {
  background: var(--grad-cta);
  padding: var(--s20) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: -300px;
  right: -200px;
}

.cta-band-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: var(--s5);
}

.cta-band p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 auto var(--s10);
  line-height: 1.7;
}

.cta-band-btns {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ TESTIMONIALS ============ */
.testi-bg {
  background: var(--slate-50);
}

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

.testi-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--r-xl);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  transition: all var(--t-slow);
  position: relative;
}

.testi-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: rgba(59, 91, 255, 0.12);
}

/* Quote icon */
.testi-card::before {
  content: '"';
  position: absolute;
  top: var(--s5);
  right: var(--s6);
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--blue-50);
  line-height: 1;
  pointer-events: none;
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--s5);
}

.testi-star {
  color: #FBBF24;
  font-size: 0.875rem;
}

.testi-text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.75;
  flex: 1;
  margin-bottom: var(--s6);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--s4);
  border-top: 1px solid var(--slate-100);
  padding-top: var(--s5);
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.testi-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--slate-900);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 1px;
  font-weight: 500;
}

/* ============ CONTACT ============ */
.contact-bg {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s16);
  align-items: start;
}

.contact-left h2 {
  margin-bottom: var(--s5);
}

.contact-lead {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: var(--s10);
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.c-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}

.c-detail-ico {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}

.c-detail-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 3px;
}

.c-detail-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-800);
}

.c-detail-val a:hover {
  color: var(--blue-600);
}

/* Form */
.form-wrap {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--r-2xl);
  padding: var(--s10);
  box-shadow: var(--sh-xl);
}

.form-wrap h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-wrap .form-sub {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: var(--s8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.f-group {
  margin-bottom: var(--s5);
}

.f-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: var(--s2);
}

.f-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r-lg);
  font-size: 0.9375rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: all var(--t-fast);
  outline: none;
  appearance: none;
}

.f-input:focus {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 91, 255, 0.1);
}

.f-input::placeholder {
  color: var(--slate-400);
}

.f-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}

.f-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: var(--s4);
}

.flash {
  display: none;
  padding: var(--s4);
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--s5);
}

.flash-ok {
  background: rgba(0, 199, 140, 0.08);
  color: #059669;
  border: 1px solid rgba(0, 199, 140, 0.25);
}

.flash-err {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.55);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: var(--s12);
  padding: var(--s20) 0 var(--s16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s5);
  width: fit-content;
  backdrop-filter: blur(8px);
}

.footer-logo-wrap img {
  height: 70px;
  width: auto;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  max-width: 270px;
  margin-bottom: var(--s6);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer-ci {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-ci svg {
  color: var(--green-400);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-ci a:hover {
  color: var(--green-400);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--s5);
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--t-fast);
}

.footer-link:hover {
  color: var(--green-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s6) 0;
  flex-wrap: wrap;
  gap: var(--s4);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  gap: var(--s6);
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--t-fast);
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* ============ CALENDLY MODAL ============ */
.cal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 24, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--s6);
}

.cal-overlay.open {
  display: flex;
}

.cal-modal {
  background: #fff;
  border-radius: var(--r-2xl);
  width: 100%;
  max-width: 880px;
  padding: var(--s8);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.32s var(--ease-spring);
}

.cal-close {
  position: absolute;
  top: var(--s5);
  right: var(--s5);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-500);
  border: none;
  transition: all var(--t-fast);
}

.cal-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.cal-modal-header {
  text-align: center;
  margin-bottom: var(--s8);
}

.cal-modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cal-modal-header p {
  color: var(--slate-500);
}

.cal-embed-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--slate-100);
}

/* ============ BACK TO TOP ============ */
.btt {
  position: fixed;
  bottom: 110px;
  right: var(--s6);
  width: 42px;
  height: 42px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-blue);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  z-index: 50;
}

.btt.show {
  opacity: 1;
  visibility: visible;
}

.btt:hover {
  transform: translateY(-3px);
}

/* ============ SUBPAGES ============ */
.page-hero {
  background: var(--grad-hero);
  padding: 140px 0 80px;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--s4);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  max-width: 580px;
  margin: 0 auto;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: var(--s10) 0 var(--s4);
  color: var(--slate-900);
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: var(--s8) 0 var(--s3);
}

.prose p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: var(--s5);
}

.prose ul {
  margin: 0 0 var(--s5) var(--s6);
}

.prose ul li {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: var(--s2);
  list-style: disc;
}

.prose a {
  color: var(--blue-600);
  text-decoration: underline;
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

[data-reveal="l"] {
  transform: translateX(-24px);
}

[data-reveal="l"].in {
  transform: none;
}

[data-reveal="r"] {
  transform: translateX(24px);
}

[data-reveal="r"].in {
  transform: none;
}

[data-reveal="s"] {
  transform: scale(0.94);
}

[data-reveal="s"].in {
  transform: none;
}

[data-d100] {
  transition-delay: 0.1s;
}

[data-d200] {
  transition-delay: 0.2s;
}

[data-d300] {
  transition-delay: 0.3s;
}

[data-d400] {
  transition-delay: 0.4s;
}

[data-d500] {
  transition-delay: 0.5s;
}

[data-d600] {
  transition-delay: 0.6s;
}

/* ============ ANIMATIONS ============ */
@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, 40px) scale(1.1);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-50px, -30px) scale(1.08);
  }
}

@keyframes orbFloat3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -20px);
  }
}

@keyframes flt {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hiw-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-connector {
    display: none;
  }

  .why-layout {
    gap: var(--s10);
  }
}

@media (max-width: 992px) {
  :root {
    --s24: 4rem;
    --s20: 3.5rem;
    --s16: 3rem;
  }

  .hero-float-panel {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s10);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s10);
  }
}

@media (max-width: 768px) {
  .hiw-steps {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .ind-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band-btns {
    flex-direction: column;
    align-items: center;
  }

  .why-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--s4);
  }

  .form-wrap {
    padding: var(--s6);
  }

  .svc-card {
    padding: var(--s7);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .why-stats-row {
    grid-template-columns: 1fr;
  }
}