/* ============ Design tokens ============ */
:root {
  --bg: #0b0f1a;
  --surface: #111827;
  --surface-2: #161f33;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --paper: #f8fafc;
  --paper-2: #eef2f7;
  --primary: #4f46e5;
  --primary-strong: #4338ca;
  --accent: #06b6d4;
  --gradient: linear-gradient(120deg, #4f46e5, #06b6d4);
  --green: #10b981;
  --blue: #3b82f6;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, .14);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

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

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: .75rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--ink-soft); margin-top: .75rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 70, 229, .35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(79, 70, 229, .45); }
.btn-outline { border-color: #cbd5e1; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-strong); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06), 0 8px 30px rgba(15, 23, 42, .06);
  padding: .6rem 0;
}
.nav-inner { display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 40px; width: auto; }

.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; gap: .5rem; align-items: center; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 9.5rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 75% -10%, rgba(79, 70, 229, .14), transparent 60%),
    radial-gradient(900px 460px at 10% 0%, rgba(6, 182, 212, .12), transparent 60%),
    var(--paper);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.orb-1 { width: 420px; height: 420px; background: #6366f1; top: -120px; right: -80px; }
.orb-2 { width: 360px; height: 360px; background: #06b6d4; bottom: -140px; left: -100px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-strong);
  background: rgba(79, 70, 229, .08);
  border: 1px solid rgba(79, 70, 229, .2);
  border-radius: 999px;
  padding: .4rem 1rem;
  margin-bottom: 1.4rem;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }

.hero-sub { color: var(--ink-soft); font-size: 1.12rem; margin: 1.4rem 0 2rem; max-width: 540px; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-ticks { display: flex; gap: 1.4rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-ticks li { color: var(--ink-soft); font-size: .9rem; font-weight: 500; display: flex; align-items: center; gap: .45rem; }
.hero-ticks li::before { content: '✓'; color: var(--green); font-weight: 800; }

/* Hero visual */
.hero-visual { position: relative; min-height: 420px; }
.dash-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}
.main-card { position: relative; z-index: 1; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.dash-title { font-weight: 700; font-family: var(--font-display); }
.dash-chip {
  font-size: .72rem; font-weight: 700; color: var(--green);
  background: rgba(16,185,129,.12); padding: .2rem .65rem; border-radius: 999px;
}
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
.stat { background: var(--paper); border-radius: 12px; padding: .8rem; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.stat-label { font-size: .75rem; color: var(--ink-faint); }
.dash-bars { display: flex; align-items: flex-end; gap: .7rem; height: 110px; padding: 0 .4rem; }
.bar {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, #6366f1, #06b6d4);
  border-radius: 8px 8px 4px 4px;
  opacity: .85;
  animation: barGrow 1s ease both;
}
@keyframes barGrow { from { height: 0; } }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.2rem;
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
}
.card-checkin { top: -28px; right: -10px; }
.card-payroll { bottom: -24px; left: -18px; animation-delay: -2.5s; }
.float-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(79,70,229,.1);
}
.card-payroll .float-icon { background: rgba(16,185,129,.12); color: var(--green); font-weight: 800; }
.float-title { font-weight: 700; font-size: .9rem; }
.float-sub { font-size: .78rem; color: var(--ink-faint); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ Trust strip ============ */
.trust { padding: 3.2rem 0; background: #fff; border-block: 1px solid rgba(15,23,42,.06); }
.trust-label { text-align: center; color: var(--ink-faint); font-size: .92rem; font-weight: 500; margin-bottom: 1.8rem; }
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.t-stat { text-align: center; }
.t-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-stat span { color: var(--ink-soft); font-size: .9rem; }

/* ============ Features ============ */
.features { padding: 6rem 0; }

.feature-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .55rem; margin-bottom: 2.4rem;
}
.tab {
  border: 1.5px solid #dbe2ec;
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600; font-size: .88rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(79,70,229,.32);
}

.feature-panels {
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel {
  display: none;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  padding: 2.6rem;
  animation: panelIn .35s ease;
}
.panel.active { display: grid; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(79,70,229,.08);
  margin-bottom: 1rem;
}
.panel-info h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.panel-info > p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.panel-info ul li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .55rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.panel-info ul li::before {
  content: '✓';
  position: absolute; left: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 800;
  color: var(--primary);
  background: rgba(79,70,229,.1);
  border-radius: 50%;
}

.panel-art {
  background: linear-gradient(160deg, #f1f5ff, #ecfeff);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: center; gap: .9rem;
}

.mini-card {
  background: #fff;
  border-radius: 12px;
  padding: .85rem 1rem;
  display: flex; align-items: center; gap: .8rem;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
  font-size: .9rem;
}
.mini-card > div { flex: 1; }
.mini-card strong { display: block; font-size: .92rem; }
.mini-card small { color: var(--ink-faint); font-size: .78rem; }

.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient);
  color: #fff; font-weight: 700; font-size: .8rem;
  flex-shrink: 0;
}

.badge { font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.badge-green { color: var(--green); background: rgba(16,185,129,.12); }
.badge-blue { color: var(--blue); background: rgba(59,130,246,.12); }

.big-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--primary); }

/* attendance art */
.map-mock {
  position: relative;
  height: 180px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(79,70,229,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.06) 1px, transparent 1px),
    #fff;
  background-size: 26px 26px;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
  overflow: hidden;
}
.geofence {
  position: absolute; width: 120px; height: 120px;
  border: 2px dashed var(--primary);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(79,70,229,.05);
}
.map-pin {
  position: absolute; width: 14px; height: 14px;
  background: var(--green); border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  animation: pinPulse 2s ease-in-out infinite;
}
.pin-1 { top: 42%; left: 46%; }
.pin-2 { top: 58%; left: 56%; animation-delay: .5s; }
.pin-3 { top: 30%; left: 70%; background: var(--blue); animation-delay: 1s; }
@keyframes pinPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.2); flex-shrink: 0; }

/* leave / payroll art */
.mini-card.approval { align-items: center; }
.payroll-rows { background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(15,23,42,.06); overflow: hidden; }
.p-row { display: flex; justify-content: space-between; padding: .8rem 1rem; font-size: .9rem; color: var(--ink-soft); border-bottom: 1px solid var(--paper-2); }
.p-row.total { font-weight: 700; color: var(--ink); background: rgba(79,70,229,.05); border: 0; }

/* recruitment art */
.pipeline { display: grid; gap: .7rem; }
.stage {
  background: #fff; border-radius: 12px;
  padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .9rem;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}
.stage strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--primary); min-width: 2ch; }
.stage span { color: var(--ink-soft); font-size: .9rem; }
.stage.hired { background: linear-gradient(120deg, rgba(79,70,229,.1), rgba(6,182,212,.1)); }
.stage.hired strong { color: var(--green); }

/* onboarding art */
.checklist { display: grid; gap: .7rem; }
.check {
  background: #fff; border-radius: 12px;
  padding: .85rem 1rem .85rem 2.8rem;
  position: relative; font-size: .92rem; font-weight: 500;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}
.check::before {
  content: '✓';
  position: absolute; left: .9rem; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%; font-size: .75rem; font-weight: 800;
}
.check.done::before { background: rgba(16,185,129,.15); color: var(--green); }
.check.pending { color: var(--ink-faint); }
.check.pending::before { content: '•'; background: var(--paper-2); color: var(--ink-faint); }

/* performance art */
.progress { height: 10px; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 4px rgba(15,23,42,.08); }
.progress-fill { height: 100%; width: var(--w); background: var(--gradient); border-radius: 999px; }

/* ess art */
.phone-mock {
  background: #fff; border-radius: 22px;
  padding: 2rem 1.2rem 1.4rem;
  max-width: 230px; margin-inline: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: grid; gap: .7rem;
}
.phone-notch {
  position: absolute; top: .7rem; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 7px;
  background: var(--paper-2); border-radius: 999px;
}
.phone-row {
  display: flex; align-items: center; gap: .7rem;
  background: var(--paper);
  border-radius: 12px;
  padding: .7rem .9rem;
  font-size: .88rem; font-weight: 600;
}

/* ============ Why ============ */
.why { padding: 6rem 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-card {
  background: var(--paper);
  border: 1px solid rgba(15,23,42,.05);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(6,182,212,.1));
  margin-bottom: 1.1rem;
}
.why-card h3 { margin-bottom: .5rem; font-size: 1.08rem; }
.why-card p { color: var(--ink-soft); font-size: .92rem; }

/* ============ Industries ============ */
.industries { padding: 6rem 0; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.industry-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,229,.3); }
.industry-icon { font-size: 1.9rem; margin-bottom: .9rem; }
.industry-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.industry-card p { color: var(--ink-soft); font-size: .92rem; }

/* ============ Mobile section ============ */
.mobile {
  padding: 6rem 0;
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(6,182,212,.12), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, rgba(79,70,229,.14), transparent 60%),
    var(--bg);
  color: #e2e8f0;
}
.mobile-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.mobile-copy h2 { color: #fff; margin-bottom: 1rem; }
.mobile-copy > p { color: #94a3b8; margin-bottom: 1.6rem; font-size: 1.05rem; }
.mobile-copy .eyebrow { color: var(--accent); }
.mobile-list li {
  position: relative; padding-left: 1.8rem;
  margin-bottom: .8rem; color: #cbd5e1; font-size: .96rem;
}
.mobile-list li::before {
  content: '✓';
  position: absolute; left: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 800;
  color: var(--accent);
  background: rgba(6,182,212,.15);
  border-radius: 50%;
}
.mobile-list strong { color: #fff; }
.store-badges { display: flex; gap: .8rem; margin-top: 1.8rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: .7rem 1.3rem;
  font-weight: 600; font-size: .92rem;
  transition: background .18s;
}
.store-badge:hover { background: rgba(255,255,255,.15); }

.phone-big {
  background: #1e293b;
  border-radius: 38px;
  padding: 12px;
  max-width: 300px;
  margin-inline: auto;
  box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone-big-notch {
  position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #1e293b; border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  background: linear-gradient(170deg, #f8fafc, #eef2ff);
  border-radius: 28px;
  padding: 3.2rem 1.2rem 1.4rem;
  color: var(--ink);
  display: grid; gap: 1rem;
}
.phone-header { display: flex; align-items: center; gap: .7rem; }
.phone-header strong { display: block; font-size: .95rem; }
.phone-header small { color: var(--ink-faint); font-size: .76rem; }
.phone-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient); color: #fff; font-weight: 700; font-size: .8rem;
}
.checkin-card {
  background: #fff; border-radius: 18px;
  padding: 1.4rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
  display: grid; gap: .8rem; justify-items: center;
}
.checkin-ring {
  width: 110px; height: 110px; border-radius: 50%;
  background: conic-gradient(from 0deg, #4f46e5, #06b6d4, #4f46e5);
  display: grid; place-items: center;
  animation: spinSlow 8s linear infinite;
}
.checkin-inner {
  width: 92px; height: 92px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: .95rem;
  color: var(--primary-strong);
  text-align: center; line-height: 1.2;
  animation: spinSlowReverse 8s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes spinSlowReverse { to { transform: rotate(-360deg); } }
.checkin-card small { color: var(--ink-faint); font-size: .76rem; }
.phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pg-item {
  background: #fff; border-radius: 14px;
  padding: .7rem .3rem;
  display: grid; gap: .25rem; justify-items: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(15,23,42,.06);
}
.pg-item span { font-size: .66rem; font-weight: 600; color: var(--ink-soft); }

/* ============ Testimonials ============ */
.testimonials { padding: 6rem 0; background: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial-card {
  background: var(--paper);
  border: 1px solid rgba(15,23,42,.05);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex; flex-direction: column;
}
.quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--primary); opacity: .35; }
.testimonial-card blockquote { color: var(--ink-soft); font-size: .96rem; flex: 1; margin: .4rem 0 1.4rem; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial-card figcaption strong { display: block; font-size: .92rem; }
.testimonial-card figcaption small { color: var(--ink-faint); font-size: .8rem; }

/* ============ CTA ============ */
.cta { padding: 6rem 0; }
.cta-card {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(255,255,255,.16), transparent 60%),
    var(--gradient);
  border-radius: var(--radius-lg);
  padding: 3.2rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
  color: #fff;
  box-shadow: 0 30px 80px rgba(79,70,229,.35);
}
.cta-copy h2 { color: #fff; margin-bottom: .8rem; }
.cta-copy p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.cta-form { display: grid; gap: .8rem; }
.cta-form input {
  border: 0; border-radius: 12px;
  padding: .9rem 1.1rem;
  font-family: var(--font-body); font-size: .95rem;
  background: rgba(255,255,255,.95);
  outline: 2px solid transparent;
  transition: outline-color .15s;
}
.cta-form input:focus { outline-color: rgba(255,255,255,.7); }
.form-note { font-size: .85rem; color: #d1fae5; font-weight: 600; min-height: 1.2em; margin: 0; }

/* ============ Footer ============ */
.footer { background: var(--bg); color: #94a3b8; padding: 4rem 0 2rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { margin-top: 1rem; font-size: .92rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; font-family: var(--font-display); }
.footer-col a { display: block; font-size: .9rem; margin-bottom: .6rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 1.6rem; font-size: .85rem;
  flex-wrap: wrap; gap: .6rem;
}
.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  line-height: 1;
}
.footer-powered a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #cbd5e1;
  transition: color .15s;
}
.footer-powered-icon { display: block; width: 16px; height: 16px; object-fit: contain; border-radius: 3px; }
.footer-powered a:hover { color: #fff; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 4.5rem; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .panel { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .mobile-inner { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 1.2rem 4%;
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    gap: 1rem;
  }
  .hero { padding-top: 7.5rem; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .industry-grid { grid-template-columns: 1fr; }
  .panel { padding: 1.6rem; }
  .card-checkin { right: 0; }
  .card-payroll { left: 0; }
  .cta-card { padding: 2rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
