/* =========================================================================
   Encrew — Core Styles
   Design tokens, base, layout, and all component styling.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Design Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --color-primary: #4f46e5;
  --color-primary-600: #4338ca;
  --color-accent: #7c3aed;
  --color-success: #10b981;

  /* Surfaces */
  --color-bg: #ffffff;
  --color-section: #f8fafc;
  --color-border: #e5e7eb;

  /* Text */
  --color-text: #111827;
  --color-text-muted: #6b7280;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  --gradient-text: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #6d28d9 100%);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.5rem, 6vw, 4.5rem); /* 72px cap */
  --fs-section: clamp(2rem, 4.2vw, 3rem); /* 48px cap */
  --fs-body: 1.125rem; /* 18px */
  --fs-btn: 1rem; /* 16px */

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-28: 7rem;

  /* Radii */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(17, 24, 39, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(17, 24, 39, 0.28);
  --shadow-brand: 0 20px 45px -18px rgba(79, 70, 229, 0.55);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
}

/* -------------------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* -------------------------------------------------------------------------
   Layout Helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-28);
}

.section--tint {
  background: var(--color-section);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #eef2ff;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--fs-section);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-subtitle {
  margin-top: var(--space-4);
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

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

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--fs-btn);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-pill);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 55px -18px rgba(79, 70, 229, 0.65);
}

.btn--ghost {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: #c7cbd4;
  box-shadow: var(--shadow-sm);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--light:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* -------------------------------------------------------------------------
   Navbar
   ------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.brand__mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-links a {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.nav-links a:hover {
  color: var(--color-text);
  background: var(--color-section);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-actions .login {
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-28);
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(79, 70, 229, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 70, 229, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
}
.hero__glow--1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.55), transparent 70%);
}
.hero__glow--2 {
  width: 520px;
  height: 520px;
  top: -60px;
  right: -160px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-6);
}
.hero__pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  margin-top: var(--space-6);
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  max-width: 34rem;
}

.hero__actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__trust {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.avatar-stack {
  display: flex;
}
.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: var(--shadow-xs);
}
.avatar-stack img:first-child {
  margin-left: 0;
}
.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* Hero visual / phones */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

/* Floating cards around the phone */
.float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
}
.float-card small {
  display: block;
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.72rem;
}
.float-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.float-card__icon svg {
  width: 18px;
  height: 18px;
}
.float-card--1 {
  top: 8%;
  left: -6%;
}
.float-card--2 {
  top: 30%;
  right: -8%;
}
.float-card--3 {
  bottom: 18%;
  left: -8%;
}
.float-card--4 {
  bottom: 4%;
  right: -2%;
}

/* -------------------------------------------------------------------------
   Phone Mockup (pure CSS/HTML device)
   ------------------------------------------------------------------------- */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  background: #0b1020;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(17, 24, 39, 0.06);
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  background: #0b1020;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone--tilt {
  transform: rotate(-4deg);
}

/* App UI inside phone */
.app {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 0.78rem;
}
.app__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text);
}
.app__header {
  padding: 6px 18px 12px;
}
.app__header h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.app__header p {
  color: var(--color-text-muted);
  font-size: 0.72rem;
}
.app__body {
  flex: 1;
  padding: 4px 16px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-xs);
}
.app-worker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-worker__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
}
.app-worker__name {
  font-weight: 700;
}
.app-worker__role {
  color: var(--color-text-muted);
  font-size: 0.68rem;
}
.app-badge {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-success);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
}
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-section);
  padding: 4px 8px;
  border-radius: 999px;
}
.app-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.app-btn {
  margin-top: 10px;
  width: 100%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 9px;
  border-radius: 12px;
  text-align: center;
}

/* Timeline inside app */
.app-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.app-step {
  display: flex;
  gap: 10px;
  position: relative;
  padding-bottom: 14px;
}
.app-step:last-child {
  padding-bottom: 0;
}
.app-step__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--color-section);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  z-index: 1;
}
.app-step__dot svg {
  width: 10px;
  height: 10px;
}
.app-step--done .app-step__dot {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}
.app-step--active .app-step__dot {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.app-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.app-step--done:not(:last-child)::before {
  background: var(--color-success);
}
.app-step__label {
  font-weight: 700;
  font-size: 0.75rem;
}
.app-step__time {
  color: var(--color-text-muted);
  font-size: 0.66rem;
}

/* Map / tracking mock */
.app-map {
  position: relative;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.12), transparent 40%),
    linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1px solid var(--color-border);
}
.app-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}
.app-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  background: var(--color-primary);
  transform: rotate(-45deg);
  top: 40px;
  left: 60px;
  box-shadow: var(--shadow-md);
}
.app-pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  background: #fff;
  border-radius: 50%;
}

/* -------------------------------------------------------------------------
   Stats
   ------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.stat {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.stat__num {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* -------------------------------------------------------------------------
   Feature grid cards (Why Encrew)
   ------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.feature-card__icon svg {
  width: 26px;
  height: 26px;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* -------------------------------------------------------------------------
   How it works — dual timeline
   ------------------------------------------------------------------------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.how-col {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}
.how-col__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.how-col__tag {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}
.how-col__tag svg {
  width: 24px;
  height: 24px;
}
.how-col--biz .how-col__tag {
  background: var(--gradient-brand);
}
.how-col--work .how-col__tag {
  background: linear-gradient(135deg, #10b981, #059669);
}
.how-col__head h3 {
  font-size: 1.5rem;
  font-weight: 800;
}
.how-col__head p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.timeline {
  position: relative;
}
.timeline__item {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  position: relative;
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--color-section);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  z-index: 1;
}
.how-col--work .timeline__num {
  color: var(--color-success);
}
.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--color-border), transparent);
}
.timeline__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: 5px;
}
.timeline__content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
   Industries — Bento grid
   ------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-4);
}
.bento__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-6);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.bento__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.bento__item .b-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  color: var(--color-primary);
  transition: transform 0.3s ease;
}
.bento__item:hover .b-icon {
  transform: scale(1.08) rotate(-4deg);
}
.bento__item .b-icon svg {
  width: 22px;
  height: 22px;
}
.bento__item h3 {
  font-size: 1.1rem;
  font-weight: 700;
}
.bento__item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.bento__item--feature {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  justify-content: space-between;
}
.bento__item--feature .b-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.bento__item--feature p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 22rem;
}
.bento__item--feature h3 {
  font-size: 1.75rem;
}
.bento__item--wide {
  grid-column: span 2;
}

/* -------------------------------------------------------------------------
   Features — alternating sections
   ------------------------------------------------------------------------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.feature-row {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.feature-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-row__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  color: var(--color-primary);
}
.feature-row__icon svg {
  width: 22px;
  height: 22px;
}
.feature-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.feature-row p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

/* -------------------------------------------------------------------------
   Split sections (For Businesses / For Workers)
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split--reverse .split__visual {
  order: -1;
}
.split__content .section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}
.split__checklist {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.split__checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
  font-size: 0.98rem;
}
.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.14);
  color: var(--color-success);
}
.check svg {
  width: 14px;
  height: 14px;
}
.split__actions {
  margin-top: var(--space-10);
}
.split__visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.split__visual .float-card {
  position: absolute;
}

/* -------------------------------------------------------------------------
   Comparison table
   ------------------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 960px;
  margin-inline: auto;
}
.compare__col {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
}
.compare__col--old {
  background: #fff;
}
.compare__col--new {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.compare__col h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.compare__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.compare__col li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.98rem;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.compare__col--new li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.compare__col li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.compare__mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.compare__mark svg {
  width: 14px;
  height: 14px;
}
.compare__col--old .compare__mark {
  background: #fef2f2;
  color: #ef4444;
}
.compare__col--new .compare__mark {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* -------------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.testi {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.testi:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi__stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}
.testi__quote {
  font-size: 1.05rem;
  line-height: 1.6;
}
.testi__person {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testi__person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testi__name {
  font-weight: 700;
  font-size: 0.95rem;
}
.testi__role {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------------------
   Mobile Experience (flows)
   ------------------------------------------------------------------------- */
.flows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.flow-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}
.flow-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.flow-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--color-section);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.9rem;
}
.flow-pill .n {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: #fff;
  background: var(--gradient-brand);
}
.flow-arrow {
  color: var(--color-text-muted);
  display: inline-flex;
}
.flow-arrow svg {
  width: 16px;
  height: 16px;
}

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.faq {
  max-width: 780px;
  margin-inline: auto;
}
.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq__item.is-open {
  box-shadow: var(--shadow-md);
  border-color: #c7cbe8;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
}
.faq__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-section);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq__icon svg {
  width: 16px;
  height: 16px;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--gradient-brand);
  color: #fff;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__a p {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-20) var(--space-8);
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 75%);
}
.cta__content {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}
.cta h2 {
  font-size: var(--fs-section);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta p {
  margin-top: var(--space-4);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}
.cta__actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer {
  background: #0b1020;
  color: #cbd5e1;
  padding-block: var(--space-20) var(--space-10);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand {
  color: #fff;
}
.footer__about p {
  margin-top: var(--space-4);
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 22rem;
}
.footer__stores {
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.store-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.store-btn svg {
  width: 20px;
  height: 20px;
}
.store-btn small {
  display: block;
  font-size: 0.62rem;
  color: #94a3b8;
}
.footer__col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}
.footer__col a {
  display: block;
  padding: var(--space-2) 0;
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer__col a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  color: #94a3b8;
  font-size: 0.85rem;
}
.footer__social {
  display: flex;
  gap: var(--space-3);
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.footer__social svg {
  width: 18px;
  height: 18px;
}

/* Mouse-follow glow layer */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
