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

:root {
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --accent-light: #ccfbf1;
  --navy: #0e1a2b;
  --navy2: #1a2d42;
  --text: #0e1a1a;
  --muted: #5a7878;
  --border: #e0eaea;
  --bg: #f8fafa;
  --white: #ffffff;
  --font: 'Inter', system-ui, sans-serif;
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

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

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 40px; height: 64px; display: flex; align-items: center; justify-content: space-between; background: rgba(14,26,43,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.nav-logo-icon span { width: 9px; height: 9px; border-radius: 2.5px; background: var(--accent); display: block; }
.nav-logo-icon span:nth-child(2), .nav-logo-icon span:nth-child(3) { opacity: 0.4; }
.nav-logo-icon span:nth-child(4) { opacity: 0.7; }
.nav-logo-text { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 8px; transition: opacity 0.15s; }
.nav-cta:hover { opacity: 0.88; }

/* ── HERO ── */
.hero { background: linear-gradient(160deg, #0e1a2b 0%, #0a2020 60%, #0d1f1f 100%); padding: 140px 40px 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13,148,136,0.15) 0%, transparent 70%); pointer-events: none; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(13,148,136,0.15); border: 1px solid rgba(13,148,136,0.3); color: var(--accent-light); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 28px; letter-spacing: 0.04em; }
.hero-pill-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -1.5px; margin-bottom: 22px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero h1 span { color: var(--accent); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto 40px; line-height: 1.65; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 70px; }
.btn-primary { background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 10px; transition: opacity 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { background: rgba(255,255,255,0.07); color: #fff; font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); transition: all 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ── DASHBOARD MOCKUP ── */
.hero-mockup { max-width: 1080px; margin: 0 auto; position: relative; }
.hero-mockup::before { content: ''; position: absolute; inset: -1px; background: linear-gradient(180deg, rgba(13,148,136,0.25) 0%, transparent 55%); border-radius: 18px; pointer-events: none; z-index: 1; }
.mockup-wrap { background: #003f45; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(13,148,136,0.25); position: relative; }
.mockup-browser-bar { background: #1e1e2e; padding: 9px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.r { background: #ff5f57; }
.mockup-dot.y { background: #ffbd2e; }
.mockup-dot.g { background: #28c840; }
.mockup-url { background: rgba(255,255,255,0.08); border-radius: 5px; padding: 4px 14px; font-size: 11px; color: rgba(255,255,255,0.35); margin-left: 8px; font-family: monospace; }
.mockup-shell { display: flex; height: 620px; background: #003f45; padding: 12px; gap: 0; }

/* ── SIDEBAR (dark) ── */
.mockup-sidebar { width: 184px; flex-shrink: 0; background: transparent; padding: 6px 6px; display: flex; flex-direction: column; gap: 2px; }
.mockup-logo { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,0.9); text-transform: uppercase; padding: 8px 8px 12px; display: flex; align-items: center; gap: 8px; }
.mockup-logo b { color: #4dd4c8; font-weight: 700; }
.mockup-logo-icon { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mockup-logo-icon span { width: 7px; height: 7px; border-radius: 2px; background: #4dd4c8; display: block; }
.mockup-logo-icon span:nth-child(2), .mockup-logo-icon span:nth-child(3) { opacity: 0.4; }
.mockup-logo-icon span:nth-child(4) { opacity: 0.7; }
.mockup-search { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 0 2px 6px; border-radius: 8px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 500; }
.mockup-search-kbd { margin-left: auto; font-size: 9px; background: rgba(255,255,255,0.1); border-radius: 4px; padding: 2px 5px; color: rgba(255,255,255,0.6); }
.mockup-nav-item { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 12px; color: rgba(255,255,255,0.62); font-weight: 500; }
.mockup-nav-item.active { background: #11766e; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(15,118,110,.4); }
.mockup-nav-grp { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 12px; color: rgba(255,255,255,0.62); font-weight: 500; }
.mockup-nav-chev { margin-left: auto; opacity: 0.4; }
.mockup-nav-notif { margin-left: auto; width: 15px; height: 15px; background: #ef4444; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; }
.mockup-nav-notif + .mockup-nav-chev { margin-left: 6px; }
.mockup-sidebar-foot { margin-top: auto; padding: 6px 4px 2px; display: flex; flex-direction: column; gap: 8px; }
.mockup-theme-toggle { width: 40px; height: 21px; border-radius: 11px; background: rgba(255,255,255,0.15); position: relative; }
.mockup-theme-knob { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.mockup-sidebar-profile { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-top: 1px solid rgba(255,255,255,0.1); }
.mockup-sidebar-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#8533F5,#D4B0FC); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.mockup-sidebar-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.2; }
.mockup-sidebar-role { font-size: 10px; color: rgba(255,255,255,0.45); }

/* ── MAIN CONTENT (light panel) ── */
.mockup-content { flex: 1; padding: 16px 18px; overflow: hidden; background: #eff4f4; border-radius: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; text-align: left; }
.mockup-header { display: flex; justify-content: space-between; align-items: center; }
.mockup-title { font-size: 22px; font-weight: 800; color: #0e1a1a; line-height: 1; letter-spacing: -0.02em; }
.mockup-date { font-size: 10px; color: #5a7070; margin-top: 4px; }
.mockup-hd-right { display: flex; align-items: center; gap: 12px; }
.mockup-bell { position: relative; font-size: 16px; line-height: 1; background: #fff; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(100,120,120,0.08); }
.mockup-bell-dot { position: absolute; top: 2px; right: 3px; width: 11px; height: 11px; background: #ef4444; border-radius: 50%; border: 2px solid #fff; font-size: 6px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mockup-hd-user { display: flex; align-items: center; gap: 8px; }
.mockup-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#8533F5,#D4B0FC); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.mockup-hd-name { font-size: 11px; font-weight: 700; color: #0e1a1a; line-height: 1.2; }
.mockup-hd-role { font-size: 9px; color: #5a7070; }

/* ── STAT CARDS ── */
.mockup-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mockup-stat { background: #b8dfe1; border-radius: 10px; padding: 18px 20px; }
.mockup-stat.wire { background: #1d9ba4; }
.mockup-stat-lbl { font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5a7070; margin-bottom: 8px; }
.mockup-stat.wire .mockup-stat-lbl { color: rgba(255,255,255,0.82); }
.mockup-stat-val { font-size: 32px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.03em; line-height: 1; }
.mockup-stat.wire .mockup-stat-val { color: #fff; }
.mockup-stat-status { font-size: 22px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.02em; line-height: 1.1; }
.mockup-stat-sub { font-size: 9px; color: #5a7070; font-weight: 600; margin-top: 8px; display: flex; align-items: center; gap: 3px; }
.mockup-stat.wire .mockup-stat-sub { color: rgba(255,255,255,0.8); }

/* ── MIDDLE + BOTTOM GRID ── */
.mockup-body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; }
.mockup-row2 { display: grid; grid-template-columns: 1fr 200px 220px; gap: 12px; align-items: stretch; }
.mockup-row3 { display: grid; grid-template-columns: 1fr 230px; gap: 12px; align-items: start; }
.mockup-card { background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px solid #dde5e5; box-shadow: 0 1px 3px rgba(100,120,120,0.05); }
.mockup-card-hd { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.mockup-card-title { font-size: 14px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.02em; }
.mockup-card-sub { font-size: 9px; color: #5a7070; margin-bottom: 10px; margin-top: 2px; }
.mockup-view-all { background: #11766e; color: #fff; font-size: 9px; font-weight: 700; padding: 6px 13px; border-radius: 20px; white-space: nowrap; letter-spacing: .04em; }

/* chart */
.mockup-chart-legend { display: flex; gap: 14px; margin-bottom: 10px; }
.mockup-legend-lbl { font-size: 9px; color: #5a7070; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.mockup-legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mockup-chart-wrap { display: flex; gap: 6px; }
.mockup-chart-yaxis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 22px; flex-shrink: 0; }
.mockup-chart-yaxis-lbl { font-size: 7px; color: #90acac; text-align: right; white-space: nowrap; line-height: 1; }
.mockup-chart-plot { flex: 1; position: relative; min-width: 0; }
.mockup-chart-area { display: flex; align-items: flex-end; gap: 18px; height: 144px; padding: 0 4px; position: relative; }
.mockup-chart-col { display: flex; flex-direction: column; align-items: center; gap: 0; flex: 1; }
.mockup-chart-bars-wrap { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; width: 64%; margin: 0 auto; }
.mockup-bar-wire { background: #1d9ba4; border-radius: 3px 3px 0 0; width: 100%; }
.mockup-bar-take { background: #b8dfe1; border-radius: 3px; width: 100%; }
.mockup-chart-lbl { font-size: 7px; color: #90acac; text-align: center; margin-top: 4px; white-space: nowrap; }

/* links panel */
.mockup-links-wrap { display: flex; flex-direction: column; gap: 0; height: 100%; }
.mockup-links-hd { margin-bottom: 8px; }
.mockup-links-title { font-size: 12px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.01em; }
.mockup-links-sub { font-size: 9px; color: #5a7070; margin-top: 1px; }
.mockup-links { display: flex; flex-direction: column; gap: 10px; }
.mockup-link-row { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(100,120,120,0.06); }
.mockup-link-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.mockup-link-name { font-size: 11px; font-weight: 700; color: #0e1a1a; }
.mockup-link-sub { font-size: 9px; color: #5a7070; margin-top: 1px; }
.mockup-link-arr { margin-left: auto; font-size: 15px; color: #90acac; font-weight: 300; }

/* mini calendar */
.mockup-cal { display: flex; flex-direction: column; }
.mockup-cal-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mockup-cal-month { font-size: 12px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.01em; }
.mockup-cal-link { font-size: 8.5px; font-weight: 600; color: #11766e; }
.mockup-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.mockup-cal-day-hd { font-size: 7.5px; font-weight: 700; color: #90acac; text-align: center; padding: 2px 0; }
.mockup-cal-day { font-size: 9px; color: #4a6060; text-align: center; display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; margin: 0 auto; border-radius: 50%; line-height: 1; }
.mockup-cal-day.today { background: #11766e; color: #fff; font-weight: 700; }
.mockup-cal-day.faded { color: #c4d2d2; }
.mockup-cal-upcoming { margin-top: auto; padding-top: 12px; border-top: 1px solid #eef2f2; }
.mockup-cal-up-lbl { font-size: 7.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #90acac; margin-bottom: 4px; }
.mockup-cal-up-item { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 600; color: #0e1a1a; }
.mockup-cal-up-bar { width: 3px; height: 14px; background: #F51D7E; border-radius: 2px; }

/* leaderboard */
.mockup-lb-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f2; }
.mockup-lb-item:last-child { border-bottom: none; }
.mockup-lb-rank { font-size: 10px; font-weight: 800; color: #5a7070; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 8px; background: #eef2f2; }
.mockup-lb-rank.r1 { background: #E8B800; color: #fff; }
.mockup-lb-rank.r2 { background: #B0B8BF; color: #fff; }
.mockup-lb-rank.r3 { background: #C4793A; color: #fff; }
.mockup-lb-av { width: 32px; height: 32px; border-radius: 50%; background: #7ba4c8; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.mockup-lb-info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.mockup-lb-name { font-size: 10px; font-weight: 700; color: #0e1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-lb-team { font-size: 8px; color: #5a7070; font-weight: 500; display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.mockup-lb-team-dot { width: 5px; height: 5px; border-radius: 50%; background: #11766e; flex-shrink: 0; }
.mockup-lb-bar-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mockup-lb-bar-bg { width: 90px; height: 6px; background: #eef2f2; border-radius: 3px; overflow: hidden; }
.mockup-lb-bar-fill { height: 100%; background: #11766e; border-radius: 3px; }
.mockup-lb-score { font-size: 12px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.02em; width: 22px; text-align: right; flex-shrink: 0; }

/* agents panel */
.mockup-fullboard { background: #11766e; color: #fff; font-size: 9px; font-weight: 700; padding: 6px 13px; border-radius: 20px; }
.mockup-agent-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid #f2f5f5; }
.mockup-agent-row:last-child { border-bottom: none; }
.mockup-agent-av { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; }
.mockup-agent-name { font-size: 10px; font-weight: 600; color: #0e1a1a; }
.mockup-agent-role { font-size: 8.5px; color: #5a7070; }
.mockup-agent-arr { margin-left: auto; font-size: 15px; color: #90acac; font-weight: 300; }
.mockup-view-reps { margin-top: 8px; text-align: center; font-size: 9.5px; font-weight: 700; color: #11766e; padding-top: 10px; border-top: 1px solid #f0f3f3; }

/* ── MOBILE PHONE FRAME (hidden on desktop) ── */
.mockup-phone { display: none; width: min(92vw, 600px); margin: 0 auto; background: #0b1414; border-radius: 40px; padding: 10px; box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(13,148,136,0.25); position: relative; }
.mockup-phone-screen { background: #eff4f4; border-radius: 32px 32px 0 0; padding: 26px 18px 12px; overflow: hidden; text-align: left; }
.mockup-phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.18); z-index: 2; }
.mp-greeting { font-size: 24px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.03em; line-height: 1.15; }
.mp-date { font-size: 12px; color: #5a7070; margin-top: 5px; }
.mp-search { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 13px 15px; background: #fff; border-radius: 12px; color: #90acac; font-size: 13px; box-shadow: 0 1px 3px rgba(100,120,120,0.06); }
.mp-quick { display: flex; gap: 10px; margin-top: 14px; }
.mp-quick-card { flex: 1; background: #fff; border-radius: 12px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 1px 3px rgba(100,120,120,0.06); }
.mp-quick-ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.mp-quick-card span { font-size: 11px; font-weight: 600; color: #0e1a1a; }
.mp-daystrip-card { background: #fff; border-radius: 14px; padding: 14px; margin-top: 14px; box-shadow: 0 1px 3px rgba(100,120,120,0.06); }
.mp-daystrip { display: flex; gap: 2px; align-items: flex-start; }
.mp-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; }
.mp-day-ltr { font-size: 10px; font-weight: 700; color: #5a7070; }
.mp-day-num { font-size: 12px; font-weight: 700; color: #0e1a1a; }
.mp-day-dot { width: 4px; height: 4px; border-radius: 50%; background: #11766e; }
.mp-day.today { padding-top: 0; }
.mp-day-pill { background: #11766e; border-radius: 18px; padding: 7px 0; width: 34px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mp-day-pill .mp-day-ltr { color: rgba(255,255,255,0.8); }
.mp-day-pill .mp-day-num { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #11766e; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.mp-daystrip-event { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef2f2; }
.mp-event-bar { width: 3px; height: 30px; border-radius: 2px; background: #F51D7E; flex-shrink: 0; }
.mp-event-title { font-size: 13px; font-weight: 700; color: #0e1a1a; }
.mp-event-sub { font-size: 11px; color: #5a7070; margin-top: 1px; }
.mp-chart-card { background: #fff; border-radius: 14px; padding: 18px 16px; margin-top: 14px; box-shadow: 0 1px 3px rgba(100,120,120,0.06); }
.mp-chart-hd { display: flex; align-items: flex-start; justify-content: space-between; }
.mp-chart-title { font-size: 15px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.02em; }
.mp-chart-sub { font-size: 11px; color: #5a7070; margin-top: 2px; }
.mp-view-all { background: #11766e; color: #fff; font-size: 10px; font-weight: 700; padding: 7px 14px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.mp-chart-legend { display: flex; gap: 14px; margin-top: 12px; }
.mp-chart-legend span { font-size: 10px; font-weight: 600; color: #5a7070; display: flex; align-items: center; gap: 5px; }
.mp-legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mp-chart-area { display: flex; align-items: flex-end; gap: 6px; height: 100px; margin-top: 14px; }
.mp-chart-col { display: flex; flex-direction: column; align-items: center; flex: 1; }
.mp-bars { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; width: 74%; }
.mp-bar-wire { background: #1d9ba4; border-radius: 3px 3px 0 0; width: 100%; }
.mp-bar-take { background: #b8dfe1; border-radius: 3px; width: 100%; }
.mp-chart-lbl { font-size: 7.5px; color: #90acac; margin-top: 5px; white-space: nowrap; }
.mp-tabbar { display: flex; align-items: center; padding: 12px 18px 14px; background: #fff; border-top: 1px solid #dde5e5; border-radius: 0 0 32px 32px; }
.mp-tab { flex: 1; display: flex; align-items: center; justify-content: center; color: #90acac; }
.mp-tab.active { color: #11766e; }
.mp-tab-pill { display: flex; align-items: center; gap: 7px; background: #11766e; color: #fff; padding: 9px 18px; border-radius: 22px; }
.mp-tab-pill span { font-size: 13px; font-weight: 600; }

/* ── LOGOS STRIP ── */
.logos { padding: 32px 40px; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.logos-lbl { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-right: 8px; }
.logo-pill { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ── SECTION SHARED ── */
.section { padding: 96px 40px; }
.section-inner { max-width: 1060px; margin: 0 auto; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-tag-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.section-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; color: var(--navy); letter-spacing: -0.8px; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 560px; }

/* ── PROBLEM ── */
.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.problem-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.problem-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.problem-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: border-color 0.2s, box-shadow 0.2s; }
.feature-card:hover { border-color: var(--accent); box-shadow: 0 4px 24px rgba(13,148,136,0.1); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.feature-list { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.feature-list li { font-size: 13px; color: var(--muted); list-style: none; display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-light); background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%230d9488' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; flex-shrink: 0; }

/* ── HOW IT WORKS ── */
.how { background: var(--navy); }
.how .section-title { color: #fff; }
.how .section-sub { color: rgba(255,255,255,0.55); }
.how .section-tag { color: var(--accent); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.how-step { position: relative; }
.how-step-num { width: 48px; height: 48px; border-radius: 12px; background: rgba(13,148,136,0.15); border: 1px solid rgba(13,148,136,0.3); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.how-step h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.how-step p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── PRICING ── */
.pricing-wrap { display: flex; justify-content: center; margin-top: 56px; }
.pricing-card { background: var(--white); border: 2px solid var(--accent); border-radius: 20px; padding: 44px 48px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(13,148,136,0.12); }
.pricing-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 20px; }
.pricing-price { font-size: 56px; font-weight: 800; color: var(--navy); letter-spacing: -2px; line-height: 1; }
.pricing-price sup { font-size: 24px; font-weight: 700; vertical-align: top; margin-top: 10px; display: inline-block; }
.pricing-period { font-size: 15px; color: var(--muted); margin-top: 6px; margin-bottom: 6px; }
.pricing-vat { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-bottom: 32px; }
.pricing-feature { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.pricing-check { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pricing-check svg { stroke: var(--accent); }
.pricing-free { background: var(--bg); border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.pricing-free strong { color: var(--accent); }
.pricing-cta { display: block; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; padding: 16px; border-radius: 12px; transition: opacity 0.15s; }
.pricing-cta:hover { opacity: 0.88; }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, #0e1a2b 0%, #0a2020 100%); padding: 96px 40px; text-align: center; }
.cta-section h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; color: #fff; letter-spacing: -0.8px; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.55); margin-bottom: 40px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-wa { background: #25d366; color: #fff; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.15s; }
.btn-wa:hover { opacity: 0.88; }

/* ── CTA contact form ── */
.cta-form { max-width: 520px; margin: 8px auto 0; text-align: left; }
.cta-form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.cta-form input, .cta-form select, .cta-form textarea { width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #fff; font-size: 15px; font-family: var(--font); transition: border-color 0.15s, background 0.15s; }
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.cta-form select { color: rgba(255,255,255,0.75); cursor: pointer; }
.cta-form select option { color: #0e1a1a; }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.1); }
.cta-form textarea { margin-bottom: 12px; resize: vertical; min-height: 78px; line-height: 1.5; }
.cta-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.cta-form-btn { width: 100%; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; padding: 15px; border: none; border-radius: 10px; cursor: pointer; font-family: var(--font); transition: opacity 0.15s; }
.cta-form-btn:hover { opacity: 0.9; }
.cta-form-btn:disabled { opacity: 0.6; cursor: default; }
.cta-form-status { margin-top: 14px; font-size: 14.5px; text-align: center; min-height: 20px; line-height: 1.5; }
.cta-form-status.error { color: #fca5a5; }
.cta-form-status.success { color: #5eead4; font-weight: 600; }
.cta-form.sent .cta-form-row, .cta-form.sent textarea, .cta-form.sent .cta-form-btn { display: none; }
.cta-alt { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.5); }
.cta-alt a { color: rgba(255,255,255,0.85); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cta-alt a:hover { color: #fff; }

/* ── FOOTER ── */
footer { background: #080f18; padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── RESPONSIVE ── */
/* Below the desktop breakpoint (incl. iPad ≤1024px, like the app): swap the
   wide browser frame for the native device frame. The device frame is fluid
   (min(92vw,600px)) so it reads iPad-sized on tablets and flows down to a
   phone as the viewport narrows — no hard snap. */
@media (max-width: 1024px) {
  .mockup-desktop { display: none; }
  .mockup-phone { display: block; }
  /* the desktop glow is sized/rounded for the browser frame — drop it so it
     doesn't mismatch the phone's rounded corners */
  .hero-mockup::before { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   PHASE 1 — MOTION & DEPTH
   All motion is gated behind prefers-reduced-motion: no-preference.
   Users who opt out of motion see the finished (visible) state.
   ══════════════════════════════════════════════════════════════ */

/* Nav gains a stronger backdrop + shadow once the page scrolls */
.nav { transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.nav.nav-scrolled { background: rgba(10,18,30,0.98); box-shadow: 0 8px 30px rgba(0,0,0,0.35); border-bottom-color: rgba(13,148,136,0.25); }

/* Primary CTAs get a subtle moving sheen to pull the eye */
.btn-primary, .pricing-cta, .nav-cta { position: relative; overflow: hidden; }
.btn-primary::after, .pricing-cta::after, .nav-cta::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {

  /* ── Hero entrance: staggered fade + rise on load ── */
  .hero-pill, .hero h1, .hero-sub, .hero-btns, .hero-mockup { opacity: 0; animation: heroRise 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-pill   { animation-delay: 0.05s; }
  .hero h1     { animation-delay: 0.15s; }
  .hero-sub    { animation-delay: 0.28s; }
  .hero-btns   { animation-delay: 0.40s; }
  .hero-mockup { animation-delay: 0.52s; }

  /* ── Live mockup: chart bars grow after the frame lands ── */
  .hero-mockup .mockup-bar-wire, .hero-mockup .mockup-bar-take,
  .mockup-phone .mp-bar-wire, .mockup-phone .mp-bar-take {
    transform-origin: bottom; animation: growY 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .mockup-chart-col:nth-child(1) .mockup-bar-wire, .mockup-chart-col:nth-child(1) .mockup-bar-take { animation-delay: 1.05s; }
  .mockup-chart-col:nth-child(2) .mockup-bar-wire, .mockup-chart-col:nth-child(2) .mockup-bar-take { animation-delay: 1.14s; }
  .mockup-chart-col:nth-child(3) .mockup-bar-wire, .mockup-chart-col:nth-child(3) .mockup-bar-take { animation-delay: 1.23s; }
  .mockup-chart-col:nth-child(4) .mockup-bar-wire, .mockup-chart-col:nth-child(4) .mockup-bar-take { animation-delay: 1.32s; }
  .mockup-chart-col:nth-child(5) .mockup-bar-wire, .mockup-chart-col:nth-child(5) .mockup-bar-take { animation-delay: 1.41s; }
  .mockup-chart-col:nth-child(6) .mockup-bar-wire, .mockup-chart-col:nth-child(6) .mockup-bar-take { animation-delay: 1.50s; }
  .mp-chart-col:nth-child(1) .mp-bar-wire, .mp-chart-col:nth-child(1) .mp-bar-take { animation-delay: 0.35s; }
  .mp-chart-col:nth-child(2) .mp-bar-wire, .mp-chart-col:nth-child(2) .mp-bar-take { animation-delay: 0.44s; }
  .mp-chart-col:nth-child(3) .mp-bar-wire, .mp-chart-col:nth-child(3) .mp-bar-take { animation-delay: 0.53s; }
  .mp-chart-col:nth-child(4) .mp-bar-wire, .mp-chart-col:nth-child(4) .mp-bar-take { animation-delay: 0.62s; }
  .mp-chart-col:nth-child(5) .mp-bar-wire, .mp-chart-col:nth-child(5) .mp-bar-take { animation-delay: 0.71s; }
  .mp-chart-col:nth-child(6) .mp-bar-wire, .mp-chart-col:nth-child(6) .mp-bar-take { animation-delay: 0.80s; }

  /* ── Live mockup: leaderboard fill bars sweep left→right ── */
  .hero-mockup .mockup-lb-bar-fill { transform-origin: left; animation: growX 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .mockup-lb-item:nth-child(1) .mockup-lb-bar-fill { animation-delay: 1.15s; }
  .mockup-lb-item:nth-child(2) .mockup-lb-bar-fill { animation-delay: 1.28s; }
  .mockup-lb-item:nth-child(3) .mockup-lb-bar-fill { animation-delay: 1.41s; }
  .mockup-lb-item:nth-child(4) .mockup-lb-bar-fill { animation-delay: 1.54s; }
  .mockup-lb-item:nth-child(5) .mockup-lb-bar-fill { animation-delay: 1.67s; }

  /* ── Scroll reveal: elements rise into view ── */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal-stagger.in > * { opacity: 1; transform: none; }
  .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
  .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
  .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }

  /* ── CTA sheen sweep ── */
  .btn-primary::after, .pricing-cta::after, .nav-cta::after { animation: sheen 5s ease-in-out 2s infinite; }

  /* Feature cards lift a touch more on hover now that the page has motion */
  .feature-card { transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
  .feature-card:hover { transform: translateY(-3px); }
  .problem-card { transition: transform 0.2s, box-shadow 0.2s; }
  .problem-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(14,26,43,0.08); }
}

@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sheen { 0% { left: -75%; } 18%, 100% { left: 130%; } }

/* ══════════════════════════════════════════════════════════════
   PHASE 2 — TRUST (testimonials)
   ══════════════════════════════════════════════════════════════ */

/* ── Testimonials ── */
.testimonials { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(14,26,43,0.07); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testimonial-quote { font-size: 17px; line-height: 1.62; color: var(--navy); font-weight: 500; flex: 1; letter-spacing: -0.01em; }
.testimonial-author { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0891b2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-role { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.testimonial-org { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════
   PHASE 3 — FAQ (native <details> accordion)
   ══════════════════════════════════════════════════════════════ */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: rgba(13,148,136,0.35); box-shadow: 0 6px 24px rgba(13,148,136,0.07); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 700; color: var(--navy); transition: color 0.15s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item[open] summary { color: var(--accent); }
.faq-chev { flex-shrink: 0; color: var(--accent); transition: transform 0.25s ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; font-size: 15px; color: var(--muted); line-height: 1.7; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer { animation: faqOpen 0.3s ease; }
}
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════════════════════════════════
   PHASE 4 — FEATURE MINI-DEMOS
   Each feature card's icon is replaced by a compact live panel that
   demonstrates the feature. Base styles render a tidy static state;
   the looping motion lives inside the prefers-reduced-motion guard
   and starts once the grid reveals (.reveal-stagger.in).
   ══════════════════════════════════════════════════════════════ */
.feature-demo { height: 132px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; overflow: hidden; position: relative; }
.fd-av { border-radius: 50%; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── 1. Weekly Updates: submission tracker ── */
.fd-updates { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.fd-row { display: flex; align-items: center; gap: 8px; }
.fd-row .fd-av { width: 20px; height: 20px; font-size: 8px; }
.fd-name { font-size: 11px; font-weight: 600; color: #0e1a1a; }
.fd-status { margin-left: auto; position: relative; width: 78px; height: 18px; }
.fd-pill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 8.5px; font-weight: 700; border-radius: 20px; white-space: nowrap; }
.fd-pill.pending { background: #FFF4E0; color: #b8860b; }
.fd-pill.done { background: #dff5ef; color: #0f766e; opacity: 1; }

/* ── 2. Live Leaderboard: bar race ── */
.fd-board { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.fd-lb { display: flex; align-items: center; gap: 8px; }
.fd-rank { width: 18px; height: 18px; border-radius: 6px; font-size: 9px; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #b0b8bf; }
.fd-rank.r1 { background: #e8b800; }
.fd-rank.r3 { background: #c4793a; }
.fd-lb .fd-av { width: 18px; height: 18px; font-size: 8px; }
.fd-lb-name { font-size: 10.5px; font-weight: 600; color: #0e1a1a; white-space: nowrap; }
.fd-bar { margin-left: auto; width: 84px; height: 6px; background: #eef2f2; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.fd-bar-fill { display: block; height: 100%; width: var(--w); background: #11766e; border-radius: 3px; transform-origin: left; }

/* ── 3. Pay & Wire: bars building ── */
.fd-pay { height: 100%; display: flex; flex-direction: column; }
.fd-pay-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.fd-pay-val { font-size: 22px; font-weight: 800; color: #0e1a1a; letter-spacing: -0.02em; }
.fd-pay-trend { font-size: 10px; font-weight: 700; color: #0f766e; }
.fd-pay-chart { width: 100%; flex: 1; display: block; overflow: visible; }
.fd-pay-line { fill: none; stroke: #11766e; stroke-width: 2.5px; stroke-linejoin: round; stroke-linecap: round; }
.fd-pay-dot { fill: #11766e; stroke: #fff; stroke-width: 2px; }

/* ── 4. Rep Roster & Onboarding: stepper ── */
.fd-onboard { height: 100%; display: flex; align-items: center; }
.fd-steps { position: relative; display: flex; justify-content: space-between; width: 100%; padding: 0 4px; }
.fd-track { position: absolute; top: 9px; left: 18px; right: 18px; height: 3px; background: #eef2f2; border-radius: 2px; }
.fd-track-fill { height: 100%; width: 100%; background: #11766e; border-radius: 2px; transform-origin: left; transform: scaleX(1); }
.fd-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.fd-dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #11766e; display: flex; align-items: center; justify-content: center; }
.fd-dot svg { display: block; opacity: 1; }
.fd-node.pending .fd-dot { border-color: #d6e0e0; }
.fd-node.pending .fd-dot svg { opacity: 0; }
.fd-step-lbl { font-size: 9px; font-weight: 700; color: #5a7070; }

@media (prefers-reduced-motion: no-preference) {
  /* One shared 8s timeline, NO per-card delay, so every loop is identical and
     the four demos can never drift out of sync. Each card's keyframes stay
     idle until its slot (card1 ~0%, card2 ~25%, card3 ~50%, card4 ~75%), then
     reveal, hold, and all reset together near the end. Small within-card delays
     cascade each demo's own elements. */

  /* 1. submission pills flip pending → submitted (slot ~0%) */
  .reveal-stagger.in .fd-updates .fd-pill.done { opacity: 0; animation: fdSubmit 8s ease infinite; }
  .reveal-stagger.in .fd-row:nth-child(2) .fd-pill.done { animation-delay: 0.12s; }
  .reveal-stagger.in .fd-row:nth-child(3) .fd-pill.done { animation-delay: 0.24s; }
  .reveal-stagger.in .fd-row:nth-child(4) .fd-pill.done { animation-delay: 0.36s; }

  /* 2. leaderboard bars sweep in (slot ~25%) */
  .reveal-stagger.in .fd-board .fd-bar-fill { transform: scaleX(0); animation: fdBar 8s ease infinite; }
  .reveal-stagger.in .fd-lb:nth-child(2) .fd-bar-fill { animation-delay: 0.12s; }
  .reveal-stagger.in .fd-lb:nth-child(3) .fd-bar-fill { animation-delay: 0.24s; }

  /* 3. pay line draws left → right (slot ~50%) */
  .reveal-stagger.in .fd-pay-chart { clip-path: inset(0 100% 0 0); animation: fdDraw 8s ease infinite; }

  /* 4. onboarding line fills, dots light in sequence (slot ~75%) */
  .reveal-stagger.in .fd-track-fill { transform: scaleX(0); animation: fdFill 8s ease infinite; }
  .reveal-stagger.in .fd-node .fd-dot { border-color: #d6e0e0; animation: fdNode 8s ease infinite; }
  .reveal-stagger.in .fd-node .fd-dot svg { opacity: 0; transform: scale(0.4); animation: fdNodeCheck 8s ease infinite; }
  .reveal-stagger.in .fd-node:nth-child(3) .fd-dot,
  .reveal-stagger.in .fd-node:nth-child(3) .fd-dot svg { animation-delay: 0.15s; }
  .reveal-stagger.in .fd-node:nth-child(4) .fd-dot,
  .reveal-stagger.in .fd-node:nth-child(4) .fd-dot svg { animation-delay: 0.30s; }
  .reveal-stagger.in .fd-node:nth-child(5) .fd-dot,
  .reveal-stagger.in .fd-node:nth-child(5) .fd-dot svg { animation-delay: 0.45s; }
}

/* Slots on a shared 8s cycle: card1 ~0%, card2 ~25%, card3 ~50%, card4 ~75%;
   every card holds its finished state, then all clear together at 96-100%. */
@keyframes fdSubmit { 0% { opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes fdBar { 0%, 25% { transform: scaleX(0); } 33% { transform: scaleX(1); } 92% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes fdDraw { 0%, 50% { clip-path: inset(0 100% 0 0); } 60% { clip-path: inset(0 0 0 0); } 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes fdFill { 0%, 75% { transform: scaleX(0); } 87% { transform: scaleX(1); } 92% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes fdNode { 0%, 75% { border-color: #d6e0e0; } 80% { border-color: #11766e; } 92% { border-color: #11766e; } 96%, 100% { border-color: #d6e0e0; } }
@keyframes fdNodeCheck { 0%, 76% { opacity: 0; transform: scale(0.4); } 81% { opacity: 1; transform: scale(1); } 92% { opacity: 1; } 96%, 100% { opacity: 0; } }

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .section { padding: 64px 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .logos { padding: 24px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 24px 20px; }
  .cta-section { padding: 64px 20px; }
  .pricing-card { padding: 32px 24px; }
  .cta-form-row { flex-direction: column; gap: 12px; }
}
