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

:root {
  --green:        #1B6B3A;
  --green-mid:    #2E8B57;
  --green-light:  #4CAF7D;
  --green-pale:   #E8F5EE;
  --green-dark:   #0F4C29;
  --amber:        #F59E0B;
  --amber-light:  #FBBF24;
  --amber-pale:   #FEF3C7;
  --blue:         #3B82F6;
  --blue-pale:    #EFF6FF;
  --purple:       #8B5CF6;
  --purple-pale:  #F5F3FF;
  --danger:       #EF4444;
  --surface:      #F7F8FA;
  --white:        #FFFFFF;
  --border:       #E5E7EB;
  --text-1:       #111827;
  --text-2:       #374151;
  --text-3:       #6B7280;
  --text-4:       #9CA3AF;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow:       0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --shadow-green: 0 8px 32px rgba(27,107,58,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-1);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-alt { background: var(--surface); }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-tag.tag-light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-sub {
  font-size: 17px;
  color: var(--text-3);
  max-width: 580px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.75); max-width: 520px; }
.section-header { margin-bottom: 60px; }
.section-header .section-title,
.section-header .section-sub { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .section-tag { display: flex; width: fit-content; margin: 0 auto 16px; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); box-shadow: 0 12px 40px rgba(27,107,58,0.35); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 16px 36px; font-size: 16px; border-radius: 12px; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text span { color: var(--green); }
.logo-light .logo-icon { background: rgba(255,255,255,0.2); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text span { color: var(--amber-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--green); background: var(--green-pale); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--green-dark);
  overflow: hidden;
  padding-top: 66px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,205,130,0.12) 0%, transparent 70%);
}
.hero-circle-1 { width: 800px; height: 800px; top: -300px; right: -200px; }
.hero-circle-2 { width: 500px; height: 500px; bottom: -100px; left: -100px; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(78,205,130,0.15);
  border: 1px solid rgba(78,205,130,0.3);
  color: #6EE7A0;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4FD878;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #4FD878, #A7F3C3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust span { font-size: 13px; color: rgba(255,255,255,0.5); }
.trust-avatars { display: flex; }
.ta {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  margin-left: -8px;
  background: var(--green);
  color: #fff;
}
.ta:first-child { margin-left: 0; }
.ta-1 { background: #2E8B57; }
.ta-2 { background: #3B82F6; }
.ta-3 { background: #8B5CF6; }
.ta-4 { background: var(--amber); }
.ta-5 { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); font-size: 10px; }

/* ── DASHBOARD MOCKUP ────────────────────────────────────────── */
.hero-visual { position: relative; padding-bottom: 60px; }
.dashboard-mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }
.mockup-url { font-size: 11px; color: var(--text-4); background: #fff; padding: 3px 12px; border-radius: 6px; border: 1px solid var(--border); }
.mockup-body { padding: 16px; }

.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.mock-stat {
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-stat.green { background: var(--green-pale); }
.mock-stat.amber { background: var(--amber-pale); }
.mock-stat.blue  { background: var(--blue-pale); }
.ms-icon { font-size: 16px; }
.ms-val { font-size: 14px; font-weight: 800; color: var(--text-1); }
.ms-label { font-size: 9px; color: var(--text-4); font-weight: 500; }

.mock-map {
  background: #E8F5EE;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  position: relative;
  height: 90px;
  overflow: hidden;
}
.map-label { font-size: 10px; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.map-area { position: relative; height: 65px; }
.map-pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(27,107,58,0.2);
}
.p1 { top: 20%; left: 25%; }
.p2 { top: 50%; left: 60%; }
.p3 { top: 70%; left: 40%; background: var(--text-4); }
.p4 { top: 10%; left: 75%; }
.p5 { top: 60%; left: 15%; background: var(--text-4); }
.map-line { position: absolute; height: 1px; background: rgba(27,107,58,0.3); transform-origin: left; }
.ml1 { top: 30%; left: 25%; width: 100px; transform: rotate(12deg); }
.ml2 { top: 55%; left: 25%; width: 80px; transform: rotate(-8deg); }

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}
.pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(27,107,58,0.3);
  animation: pulse-ring 2s ease-out infinite;
}

.mock-agents { display: flex; flex-direction: column; gap: 6px; }
.mock-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--surface);
}
.agent-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}
.av-green { background: var(--green); }
.av-blue  { background: var(--blue); }
.av-amber { background: var(--amber); }
.agent-info { flex: 1; min-width: 0; }
.agent-name { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-status { font-size: 9px; }
.agent-status.online { color: var(--green-mid); }
.agent-status.offline { color: var(--text-4); }
.agent-xp { font-size: 10px; font-weight: 700; color: var(--amber); flex-shrink: 0; }

/* Float cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
}
.fc-1 { bottom: 30px; left: -40px; }
.fc-2 { bottom: 90px; right: -20px; }
.fc-icon { font-size: 20px; }
.fc-val { font-weight: 700; font-size: 13px; }
.fc-sub { color: var(--text-4); font-size: 11px; }

/* ── STATS STRIP ─────────────────────────────────────────────── */
.stats-strip {
  margin-top: 60px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 32px 0;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* ── FEATURES ────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
  overflow: hidden;
  position: relative;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.fc-large { grid-column: span 2; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-green { background: var(--green-pale); color: var(--green); }
.icon-blue  { background: var(--blue-pale);  color: var(--blue); }
.icon-amber { background: var(--amber-pale); color: var(--amber); }
.icon-purple{ background: var(--purple-pale);color: var(--purple); }

.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-bottom: 16px; }

.feature-bullets { display: flex; flex-direction: column; gap: 8px; }
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.feature-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Mini tasks widget */
.mini-tasks { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.mini-task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
}
.mt-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.mt-dot.done   { background: var(--green); }
.mt-dot.active { background: var(--amber); animation: pulse-dot 2s infinite; }
.mt-dot.pending { background: var(--text-4); }
.mt-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}
.mt-badge.green  { background: var(--green-pale); color: var(--green); }
.mt-badge.amber  { background: var(--amber-pale); color: #92400E; }
.mt-badge.gray   { background: var(--surface); color: var(--text-4); border: 1px solid var(--border); }

/* Mini jobs widget */
.mini-jobs { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mini-job {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.mj-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sales { background: #DBEAFE; color: #1D4ED8; }
.tech  { background: #FFE4D5; color: #C2410C; }
.mj-title { font-size: 12px; font-weight: 600; color: var(--text-1); margin-bottom: 4px; }
.mj-salary { font-size: 12px; font-weight: 700; color: var(--green); }

/* M-Pesa widget */
.mpesa-preview {
  margin-top: 16px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 12px;
}
.mpesa-logo { font-size: 11px; font-weight: 900; color: var(--green); letter-spacing: 1px; margin-bottom: 8px; }
.mpesa-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.mpesa-agents { color: var(--text-3); }
.mpesa-arrow { color: var(--text-4); }
.mpesa-amount { color: var(--green); font-size: 14px; }
.mpesa-btn {
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 7px;
  text-align: center;
  cursor: pointer;
}

/* Mini chat */
.mini-chat { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.chat-msg {
  max-width: 85%;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
}
.chat-msg.manager {
  background: var(--green);
  color: #fff;
  border-radius: 12px 12px 12px 3px;
  align-self: flex-start;
}
.chat-msg.agent {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 12px 12px 3px 12px;
  align-self: flex-end;
  margin-left: auto;
}

/* Mini chart */
.mini-chart { margin-top: 20px; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
}
.cb {
  flex: 1;
  background: var(--green-pale);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: background 0.2s;
}
.cb.active { background: var(--green); }
.cb span {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--text-4);
  white-space: nowrap;
}

/* Feature visual map */
.fv-map {
  position: relative;
  height: 80px;
  background: var(--green-pale);
  border-radius: 10px;
  margin-top: 16px;
  overflow: hidden;
}
.fv-pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.fp1 { top: 30%; left: 20%; }
.fp2 { top: 60%; left: 55%; }
.fp3 { top: 20%; left: 75%; background: var(--text-4); }
.fv-route {
  position: absolute;
  top: 45%;
  left: 20%;
  width: 40%;
  height: 1px;
  background: var(--green);
  opacity: 0.4;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.2s;
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 1px;
  margin-bottom: 12px;
  background: var(--green-pale);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
}
.step-icon { font-size: 36px; margin-bottom: 12px; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.step-connector { display: flex; align-items: center; padding: 0 4px; margin-top: 40px; }

/* ── ROLES ───────────────────────────────────────────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all 0.2s;
}
.role-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--green); }
.role-icon { font-size: 32px; margin-bottom: 12px; }
.role-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.role-card ul { display: flex; flex-direction: column; gap: 8px; }
.role-card li {
  font-size: 13px;
  color: var(--text-3);
  padding-left: 16px;
  position: relative;
}
.role-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 11px;
}

/* ── MOBILE SECTION ──────────────────────────────────────────── */
.section-dark {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,205,130,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 24px;
}
.mobile-features {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.mf-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.mobile-features strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.mobile-features span { color: rgba(255,255,255,0.55); font-size: 13px; }

.app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.app-badge:hover { background: rgba(255,255,255,0.18); }
.app-badge-android { background: rgba(78,205,130,0.15); border-color: rgba(78,205,130,0.3); }

/* Phone mockup */
.mobile-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 260px;
  background: #0F4C29;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.phone-screen {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px 6px;
  font-size: 10px;
  font-weight: 700;
  background: var(--green);
  color: #fff;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--green);
  color: #fff;
  padding-bottom: 14px;
}
.phone-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.phone-name { font-size: 13px; font-weight: 700; }
.phone-role { font-size: 10px; opacity: 0.7; margin-top: 1px; }
.phone-xp { margin-left: auto; font-size: 12px; font-weight: 700; }

.phone-checkin {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
}
.phone-checkin.checked {
  background: var(--green-pale);
  border: 1px solid rgba(27,107,58,0.2);
}
.ci-icon { font-size: 18px; flex-shrink: 0; }
.ci-label { font-size: 12px; font-weight: 700; color: var(--green); }
.ci-time { font-size: 10px; color: var(--text-4); margin-top: 1px; }
.ci-badge { margin-left: auto; font-size: 16px; }

.phone-section-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 14px;
  margin-bottom: 6px;
}
.phone-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}
.pt-icon { font-size: 14px; flex-shrink: 0; }
.pt-title { font-size: 11px; font-weight: 600; }
.pt-meta { font-size: 10px; color: var(--text-4); margin-top: 1px; }

.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.pn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  color: var(--text-4);
  position: relative;
  cursor: pointer;
}
.pn-item.active { color: var(--green); }
.pn-item span { font-size: 9px; }
.pn-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 13px; height: 13px;
  background: var(--danger);
  border-radius: 50%;
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.pt-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-4);
  transition: color 0.2s;
}
.pt-label.active { color: var(--text-1); }
.save-badge {
  background: var(--green-pale);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 4px;
}
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.recommended {
  border-color: var(--green);
  background: linear-gradient(160deg, #fff 60%, var(--green-pale));
  box-shadow: var(--shadow-green);
}

.recommended-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.plan-name { font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 12px; }
.price-currency { font-size: 16px; font-weight: 700; color: var(--text-2); }
.price-amount { font-size: 38px; font-weight: 900; color: var(--text-1); line-height: 1; }
.price-period { font-size: 13px; color: var(--text-4); margin-left: 2px; }
.plan-desc { font-size: 13px; color: var(--text-3); line-height: 1.5; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan-features { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.plan-features li.yes::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.plan-features li.no { color: var(--text-4); text-decoration: line-through; }
.plan-features li.no::before { content: '✗'; color: var(--text-4); flex-shrink: 0; }

.plan-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
}
.plan-btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.plan-btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.plan-btn-outline { border: 1.5px solid var(--border); color: var(--text-1); background: #fff; }
.plan-btn-outline:hover { border-color: var(--green); color: var(--green); }

.enterprise-banner {
  background: var(--green-dark);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.eb-content { display: flex; align-items: center; gap: 16px; }
.eb-icon { font-size: 32px; flex-shrink: 0; }
.enterprise-banner h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.enterprise-banner p { font-size: 13px; color: rgba(255,255,255,0.6); }

.pricing-note { text-align: center; font-size: 12px; color: var(--text-4); }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--green); }
.stars { color: var(--amber); font-size: 15px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.ta-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.ta-green { background: var(--green); }
.ta-blue  { background: var(--blue); }
.ta-amber { background: var(--amber); }
.ta-name { font-size: 14px; font-weight: 700; }
.ta-role { font-size: 12px; color: var(--text-4); margin-top: 2px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-inner { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--green); }
.faq-arrow { font-size: 14px; color: var(--text-4); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  padding-bottom: 18px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  background: var(--green);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: #fff; color: var(--green); box-shadow: none; }
.cta-section .btn-primary:hover { background: var(--green-pale); }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-content .section-title { text-align: left; }
.contact-content p { font-size: 15px; color: var(--text-3); line-height: 1.7; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ci-icon2 { font-size: 18px; flex-shrink: 0; }
.contact-item a { color: var(--green); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,107,58,0.1);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: #0D1B14;
  color: rgba(255,255,255,0.7);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; margin: 16px 0 20px; max-width: 240px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: all 0.15s;
}
.social-links a:hover { border-color: var(--green); color: var(--green-light); }

.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-col a:hover { color: var(--green-light); }

.footer-bottom {
  padding: 18px 0;
  display: flex;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── ANIMATION ───────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-left"]  { transform: translateX(-24px); }
[data-animate="fade-right"] { transform: translateX(24px); }
[data-animate="fade-in"]    { transform: none; }
[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ── FAQ ACCORDION ───────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  padding: 0;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }
.faq-arrow {
  font-size: 12px;
  color: var(--text-3);
  transition: transform 0.3s ease;
  display: inline-block;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  margin-top: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 500px;
}

/* ── MOBILE MENU ─────────────────────────────────────────────– */
#navToggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}
#navToggle.active span {
  background: var(--green);
}
@media (max-width: 768px) {
  #navToggle { display: block; }
  #navLinks {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #navLinks.active {
    max-height: 500px;
  }
  #navLinks a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
}

/* ── MODAL ───────────────────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

/* login-specific modal card */
.login-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px 32px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  animation: modalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-3);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, color 0.12s;
}
.modal-close:hover { background: var(--surface); color: var(--text-1); }

/* Logo row inside modal */
.login-modal-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-1);
}
.login-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}
.login-modal-sub {
  font-size: 14px;
  color: var(--text-3);
  margin: 0 0 24px;
}

/* Form fields */
.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.login-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.login-field input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-1);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  background: var(--white);
  width: 100%;
  box-sizing: border-box;
}
.login-field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 107, 58, 0.1);
}

.login-password-wrap {
  position: relative;
}
.login-password-wrap input {
  padding-right: 42px;
}
.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  display: flex;
  align-items: center;
  padding: 4px;
}
.toggle-pw:hover { color: var(--text-1); }

.login-message {
  font-size: 13px;
  min-height: 18px;
  margin: 0 0 10px;
}
.login-message--error { color: var(--danger); }
.login-message--success { color: var(--green); }

.login-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
  margin-top: 4px;
}
.login-submit-btn:hover { background: var(--green-dark); }
.login-submit-btn:active { transform: scale(0.98); }
.login-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.login-modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-3);
}
.login-modal-footer a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.login-modal-footer a:hover { text-decoration: underline; }
.login-divider { color: var(--border); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-large { grid-column: span 1; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  .hero-visual { display: none; }
  .mobile-inner { grid-template-columns: 1fr; gap: 48px; padding: 80px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .navbar.menu-open .nav-actions {
    display: flex;
    position: absolute;
    top: calc(66px + 240px);
    left: 0; right: 0;
    background: #fff;
    padding: 12px 24px 16px;
    border-bottom: 1px solid var(--border);
    justify-content: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .navbar.menu-open .nav-actions .btn { justify-content: center; }

  .section { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 20px; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .faq-inner { max-width: 100%; }
  .enterprise-banner { flex-direction: column; text-align: center; }
  .eb-content { flex-direction: column; }
  .hero-title { font-size: 36px; }
}

@media (max-width: 480px) {
  .roles-grid { grid-template-columns: 1fr; }
  .pricing-toggle { flex-wrap: wrap; }
}
