/* ============================================================
   SCOPER LANDING PAGE — design system from Figma
   ============================================================ */
:root {
  --blue: #0B41F5;
  --blue-dark: #0833C4;
  --blue-soft: #E7ECFD;
  --ink: #14181F;
  --ink-soft: #3A4150;
  --grey: #6B7280;
  --lav: #EEF0FB;
  --lav-deep: #E3E7FA;
  --white: #ffffff;
  --green: #16A34A;
  --green-soft: #DCFCE7;
  --radius: 16px;
  --radius-lg: 28px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --shadow: 0 8px 30px rgba(20, 24, 31, .08);
  --shadow-lg: 0 24px 60px rgba(20, 24, 31, .14);
  --ease: cubic-bezier(.22, .85, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--blue); }

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

/* ---------- typography ---------- */
.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.eyebrow.sm { padding: 5px 12px; font-size: .7rem; margin-bottom: 14px; }
.section-sub { color: var(--grey); font-size: 1.15rem; max-width: 560px; margin: 0 auto 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 10px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(11, 65, 245, .35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 65, 245, .42); }
.btn-outline { background: #fff; color: var(--ink); border-color: #D8DCE6; }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost { padding: 13px 14px; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--blue); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.btn-soft { background: var(--lav); color: var(--ink); }
.btn-soft:hover { background: var(--lav-deep); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.btn-blue-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-blue-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; border-radius: 12px; }
.btn.full { width: 100%; }

/* ---------- nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav-wrap.scrolled { border-bottom-color: #ECEEF4; box-shadow: 0 4px 24px rgba(20,24,31,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img { height: 30px; width: auto; display: block; }
.footer-logo { height: 34px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- hero ---------- */
.hero { padding: 70px 0 110px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(11,65,245,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-title .reveal-line { display: block; overflow: hidden; }
.hero-title .reveal-line { animation: lineUp .9s var(--ease) both; }
.hero-title .reveal-line:nth-child(2) { animation-delay: .12s; }
@keyframes lineUp {
  from { opacity: 0; transform: translateY(46px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub { color: var(--grey); font-size: 1.15rem; max-width: 460px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-assurances { display: flex; gap: 22px; flex-wrap: wrap; font-size: .86rem; color: var(--grey); margin-bottom: 30px; }
.hero-proof { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--ink-soft); }
.hero-proof .stars { color: #F5A623; letter-spacing: 1px; }
.new-badge {
  flex: none;
  font-family: var(--font-mono);
  font-size: .66rem; font-weight: 600; letter-spacing: .08em;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #C7D4FB;
  padding: 6px 11px; border-radius: 999px;
  white-space: nowrap;
}
.avatar-stack { display: flex; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2.5px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; color: #fff;
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.a1 { background: #5B7CFA; } .a2 { background: #E8795A; }
.a3 { background: #34A871; } .a4 { background: #9061F9; }
.a5 { background: var(--ink); }

/* hero floating cards */
.hero-visual { position: relative; height: 460px; }
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid #ECEEF4;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  min-width: 200px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.float-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); z-index: 5; }
.fc-1 { top: 16px; left: 8%; animation: floaty 6s ease-in-out infinite; }
.fc-2 { top: 175px; left: 0; animation: floaty 7s ease-in-out 1s infinite; }
.fc-3 { top: 90px; right: 0; animation: floaty 6.5s ease-in-out .5s infinite; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.fc-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .85rem; margin-bottom: 12px; }
.fc-ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--blue-soft); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.fc-ico.lock { background: var(--green-soft); }
.fc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.fc-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-size: .68rem; display: inline-flex; align-items: center; justify-content: center;
}
.fc-check.right { margin-left: auto; }
.fc-bar { height: 6px; border-radius: 4px; background: var(--lav); overflow: hidden; }
.fc-bar i { display: block; height: 100%; width: var(--w, 60%); background: var(--blue); border-radius: 4px; transform-origin: left; animation: growBar 1.4s var(--ease) both; }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fc-gantt { display: grid; gap: 7px; min-width: 180px; }
.fc-gantt i { display: block; height: 9px; border-radius: 5px; background: linear-gradient(90deg, var(--blue), #6E8DFB); width: var(--w); animation: growBar 1.2s var(--ease) var(--d, 0s) both; transform-origin: left; }
.mini-avatars { display: flex; }
.ma {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -7px;
  font-style: normal; font-size: .55rem; font-weight: 700; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.ma:first-child { margin-left: 0; }
.m1 { background: #5B7CFA; } .m2 { background: #E8795A; }
.m3 { background: #34A871; } .m4 { background: #9061F9; }
/* hero card mini-avatars use real profile photos */
.mini-avatars .ma { background-size: cover; background-position: center; }
.mini-avatars .ma.m1 { background-image: url('../assets/img/fig1.jpg'); }
.mini-avatars .ma.m2 { background-image: url('../assets/img/fig2.jpg'); }
.mini-avatars .ma.m3 { background-image: url('../assets/img/fig3.jpg'); }
.mini-avatars .ma.m4 { background-image: url('../assets/img/fig4.jpg'); }
.fc-pill {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600;
  background: var(--blue-soft); color: var(--blue);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.fc-pill.green { background: var(--green-soft); color: var(--green); }
.fc-pill.sm { font-size: .56rem; padding: 2px 7px; }
.fc-tag { font-size: .68rem; background: var(--lav); color: var(--ink-soft); padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.fc-btn {
  background: var(--blue); color: #fff; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: .76rem;
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
  transition: background .2s;
}
.fc-btn:hover { background: var(--blue-dark); }
.fc-btn.ghost { background: var(--lav); color: var(--ink); }
.fc-btn.full { width: 100%; }
.fc-note { font-size: .72rem; color: var(--grey); line-height: 1.45; }
.fc-strong { font-weight: 700; font-size: .85rem; margin: 4px 0; }
.float-chip {
  position: absolute;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  background: var(--ink); color: #fff;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow);
  animation: floaty 5.5s ease-in-out infinite;
}
.chip-1 { bottom: 90px; left: 30%; animation-delay: .8s; }
.chip-2 { bottom: 30px; right: 12%; background: var(--green); animation-delay: 1.4s; }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-white { background: var(--white); }
.section-lav { background: var(--lav); }
.center-eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- trio cards ---------- */
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.trio-grid.left { text-align: left; margin-top: 64px; }
.trio-card { padding-top: 8px; }
.trio-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform .35s var(--ease);
}
.trio-ico svg { width: 23px; height: 23px; }
.trio-card:hover .trio-ico { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.trio-card h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.trio-card p { color: var(--grey); font-size: .94rem; }

/* photo panel */
.photo-panel {
  position: relative;
  margin-top: 70px;
  border-radius: var(--radius-lg);
  height: 420px;
  overflow: visible;
}
.photo-stage {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #E8ECF3;
}
.photo-scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.photo-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 38%, transparent 62%);
}
.photo-gradient::after { content: none; }
.pp-1 { top: -36px; left: 6%; max-width: 320px; }
.pp-2 { bottom: -30px; right: 7%; max-width: 380px; animation-delay: 1s; }
.pp-1, .pp-2 { animation: floaty 7s ease-in-out infinite; }

/* ---------- stats ---------- */
.stats-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.stats-aside { font-size: .92rem; color: var(--ink-soft); }
.stats-aside p { margin-bottom: 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 0 28px; border-left: 1px solid #D8DCEC; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-label { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 14px; }
.stat-desc { font-size: .86rem; color: var(--grey); }
.stats-foot { margin-top: 56px; text-align: center; font-family: var(--font-mono); font-size: .74rem; color: var(--grey); }

/* ---------- feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; margin-top: 56px; }
.feat-card {
  grid-column: span 2;
  background: var(--lav);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feat-card.wide { grid-column: span 3; }
.feat-card.alt { background: #ECE8FB; }
.feat-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin: 16px 0 10px; }
.feat-card p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 22px; }
.plan-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .08em;
  background: #fff; color: var(--ink);
  padding: 5px 12px; border-radius: 999px;
}
.plan-tag.pro { color: var(--blue); }
.plan-tag.light { background: rgba(255,255,255,.16); color: #fff; }

/* mocks inside feature cards */
.mock { background: #fff; border-radius: 14px; padding: 16px; margin-top: auto; font-size: .78rem; box-shadow: 0 4px 14px rgba(20,24,31,.05); }
.mock-tree .mt-head { display: flex; justify-content: space-between; font-weight: 600; font-size: .8rem; color: var(--blue); margin-bottom: 10px; }
.mock-tree .mt-head span { color: var(--grey); font-weight: 500; font-size: .7rem; }
.mt-row {
  background: var(--lav); border-radius: 8px; padding: 8px 12px; margin-bottom: 7px;
  color: var(--ink-soft); transition: transform .3s var(--ease);
}
.mt-row.drag { background: #fff; border: 1.5px dashed var(--blue); color: var(--blue); transform: rotate(-1.6deg); box-shadow: var(--shadow); }
.feat-card:hover .mt-row.drag { transform: rotate(0) translateX(6px); }
.mock-chat .chat-msg { margin-bottom: 10px; }
.chat-msg {
  font-size: .76rem; line-height: 1.5;
  padding: 10px 14px; border-radius: 12px;
  position: relative;
}
.chat-msg.user { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; margin-left: 36px; }
.chat-msg.ai { background: var(--lav); color: var(--ink-soft); border-bottom-left-radius: 4px; margin-right: 28px; }
.chat-av {
  font-style: normal; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .55rem; font-weight: 700;
  position: absolute; right: -28px; bottom: 0;
}
.chat-av.ai-av { background: #ECE8FB; color: #6E45D9; position: static; flex: none; }
.mock-people .mp-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--lav); border-radius: 10px; padding: 8px 12px; margin-bottom: 7px;
  font-weight: 600; font-size: .78rem;
  transition: transform .25s var(--ease);
}
.mock-people .mp-row:hover { transform: translateX(5px); }
.mock-people .ma { width: 26px; height: 26px; margin: 0; }
.role { margin-left: auto; font-size: .64rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.role.admin { background: var(--blue-soft); color: var(--blue); }
.role.editor { background: var(--green-soft); color: var(--green); }
.role.est { background: #DFF5E8; color: #1c7c3c; }
.role.viewer { background: #EEF0F5; color: var(--grey); }
.mock-doc .md-title { font-weight: 600; font-size: .8rem; margin-bottom: 12px; }
.mock-doc .md-title span { color: var(--grey); font-weight: 500; font-size: .68rem; }
.md-lines { display: grid; gap: 7px; margin-bottom: 14px; }
.md-lines i { display: block; height: 7px; border-radius: 4px; background: var(--lav-deep); }
.md-foot { display: flex; align-items: center; gap: 8px; }
.ftag { font-family: var(--font-mono); font-size: .6rem; font-weight: 600; padding: 4px 9px; border-radius: 6px; }
.ftag.pdf { background: #FEE2E2; color: #DC2626; }
.ftag.docx { background: var(--blue-soft); color: var(--blue); }
.md-ai { margin-left: auto; font-size: .66rem; color: var(--grey); }
.mock-gantt .mg-row { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.mock-gantt span { flex: 0 0 92px; font-size: .68rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-gantt .g { display: block; height: 12px; border-radius: 6px; background: #C9D4F8; flex: 1; transform-origin: left; }
.reveal.visible .mock-gantt .g { animation: growBar 1.2s var(--ease) both; }
.g.g1 { max-width: 75%; background: var(--blue); }
.g.g2 { max-width: 38%; margin-left: 6%; }
.g.g3 { max-width: 42%; margin-left: 22%; }
.g.g4 { max-width: 34%; margin-left: 42%; }
.g.g5 { max-width: 20%; margin-left: 56%; }

/* feature banner */
.feat-banner {
  grid-column: span 6;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.feat-banner::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.feat-banner h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; margin: 16px 0 12px; }
.feat-banner p { color: rgba(255,255,255,.85); font-size: .95rem; }
.fb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.fb-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 18px 16px;
  transition: background .3s, transform .3s var(--ease);
}
.fb-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }
.fb-label { font-family: var(--font-mono); font-size: .6rem; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.float-card .fb-label { color: var(--blue); }
.dark-card .fb-label { color: #9DB4FF; }
.fb-val { font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.fb-sub { font-size: .72rem; color: rgba(255,255,255,.6) !important; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; margin-top: 80px; }
.split.rev .split-copy { order: 2; }
.split.rev .split-visual { order: 1; }
.split-copy > p { color: var(--ink-soft); margin-bottom: 22px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; font-size: .94rem; color: var(--ink-soft); }
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.panel {
  background: #fff;
  border: 1px solid #ECEEF4;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.cp-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #ECEEF4; margin-bottom: 16px; font-size: .85rem; }
.cp-head .chat-av { width: 34px; height: 34px; font-size: .7rem; }
.cp-status { display: block; font-family: var(--font-mono); font-size: .66rem; color: var(--green); }
.chat-panel .chat-msg { margin-bottom: 12px; font-size: .8rem; }
.chat-confirm {
  background: var(--green-soft); color: #15803D;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  padding: 10px 14px; border-radius: 10px;
}
.ep-title { font-weight: 700; font-size: .82rem; margin-bottom: 12px; }
.ep-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.ep-pill {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  border: 1px solid #D8DCE6; border-radius: 999px; padding: 6px 13px; color: var(--ink-soft);
  transition: all .25s;
}
.ep-pill:hover { border-color: var(--blue); color: var(--blue); }
.ep-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.ep-pill.cost { background: var(--lav); border-color: transparent; color: var(--blue); }
.ep-rows { border: 1px solid #ECEEF4; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.ep-row { display: flex; justify-content: space-between; padding: 10px 16px; font-size: .78rem; color: var(--ink-soft); border-top: 1px solid #ECEEF4; }
.ep-row:first-child { border-top: 0; }
.ep-row.total { background: var(--lav); font-weight: 600; color: var(--ink); }
.ep-row em { color: var(--blue); font-weight: 600; }
.ep-ai { background: var(--lav); border-radius: 12px; padding: 16px; font-size: .76rem; color: var(--ink-soft); }
.ep-ai-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: .78rem; }
.conf-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .7rem; }
.conf-bar { flex: 1; height: 7px; background: #fff; border-radius: 4px; overflow: hidden; }
.conf-bar i { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 4px; transform-origin: left; }
.reveal.visible .conf-bar i { animation: growBar 1.4s var(--ease) .3s both; }

/* ---------- marketplace ---------- */
.market-panel {
  position: relative;
  background: linear-gradient(160deg, #E9EDFB, #DDE4F9);
  border-radius: var(--radius-lg);
  padding: 56px 64px 64px;
  margin: 56px 0 0;
  text-align: left;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border-radius: 14px 14px 0 0;
  padding: 12px 16px;
  border-bottom: 1px solid #ECEEF4;
}
.bd { width: 10px; height: 10px; border-radius: 50%; }
.bd.r { background: #F87171; } .bd.y { background: #FBBF24; } .bd.g { background: #34D399; }
.url {
  flex: 1; text-align: center;
  font-family: var(--font-mono); font-size: .68rem; color: var(--grey);
  background: var(--lav); border-radius: 8px; padding: 6px 12px; margin-left: 10px;
}
.market-body { background: #fff; border-radius: 0 0 14px 14px; padding: 26px 30px 34px; box-shadow: var(--shadow-lg); }
.market-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.market-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.market-filters { display: flex; gap: 8px; }
.mf { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; border: 1px solid #D8DCE6; padding: 6px 14px; border-radius: 999px; color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.mf:hover { border-color: var(--blue); color: var(--blue); }
.mf.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.market-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spec-card {
  border: 1px solid #ECEEF4; border-radius: 16px; padding: 22px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.spec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.spec-card.best { border: 1.5px solid var(--blue); }
.match-badge {
  position: absolute; top: -12px; right: 14px;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600;
  background: var(--blue); color: #fff;
  padding: 5px 11px; border-radius: 999px;
}
.sp-av {
  font-style: normal;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); color: var(--c);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem; margin-bottom: 12px;
}
.sp-name { font-weight: 700; font-size: .95rem; }
.sp-role { font-size: .76rem; color: var(--grey); margin-bottom: 6px; }
.sp-stars { color: #F5A623; font-size: .78rem; margin-bottom: 12px; }
.sp-stars span { color: var(--grey); }
.sp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.sp-tags span { font-size: .64rem; background: var(--lav); padding: 4px 10px; border-radius: 6px; color: var(--ink-soft); }
.sp-rate { font-family: var(--font-mono); font-weight: 600; font-size: .85rem; color: var(--blue); margin-bottom: 14px; }
.avail { font-size: .62rem; color: var(--green); }
.avail.soon { color: #B45309; }
.mk-1 { left: -24px; bottom: 110px; max-width: 250px; animation: floaty 6.5s ease-in-out infinite; }
.mk-2 { right: -24px; top: 110px; max-width: 250px; animation: floaty 7s ease-in-out 1.2s infinite; }
.dark-card { background: var(--ink); border-color: var(--ink); }
.dark-card .fc-strong { color: #fff; }
.dark-card .fc-note { color: rgba(255,255,255,.65); }

/* ---------- proof ---------- */
.proof-section { padding-bottom: 70px; }
.proof-orbit { position: relative; height: 0; }
.orb {
  position: absolute;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--lav) center/cover no-repeat;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.o1 { top: 10px; left: 6%; background-image: url('../assets/img/fig1.jpg'); }
.o2 { top: 90px; left: 14%; animation-delay: .7s; background-image: url('../assets/img/fig2.jpg'); }
.o3 { top: 30px; left: 26%; animation-delay: 1.3s; background-image: url('../assets/img/fig3.jpg'); }
.o4 { top: 8px; right: 24%; animation-delay: .4s; background-image: url('../assets/img/fig4.jpg'); }
.o5 { top: 80px; right: 12%; animation-delay: 1s; background-image: url('../assets/img/fig5.jpg'); }
.o6 { top: 20px; right: 5%; animation-delay: 1.6s; background-image: url('../assets/img/fig6.jpg'); }
.proof-section .btn { margin-top: 8px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 880px; margin: 70px auto 0; }
.pstat { border-left: 1px solid #E3E6F0; }
.pstat:first-child { border-left: 0; }
.pstat-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--blue);
  line-height: 1; letter-spacing: -.03em;
}
.pstat-num small { display: block; font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.pstat > p:last-child { color: var(--grey); margin-top: 10px; font-size: .9rem; }

/* ---------- testimonials ---------- */
.testi-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 360px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  border-radius: 20px;
  padding: 30px 28px;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: transform .35s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); }
.testi-card.dark { background: var(--ink); color: #E6E8EE; }
.testi-card.light { background: var(--lav-deep); }
.quote-mark { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--blue); line-height: .6; margin-bottom: 22px; }
.testi-card blockquote { font-size: .95rem; line-height: 1.65; flex: 1; }
.testi-card.dark em { color: #7E9BFF; }
.testi-card figcaption { margin-top: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; flex: none;
  border: 2px solid rgba(255,255,255,.18);
}
.testi-card.light .testi-avatar { border-color: rgba(20,24,31,.1); }
.testi-meta { display: flex; flex-direction: column; }
.testi-card figcaption strong { display: block; font-size: .92rem; }
.testi-card figcaption span { font-size: .76rem; color: var(--grey); }
.testi-card.dark figcaption span { color: #8A90A0; }
.testi-big { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; letter-spacing: -.03em; margin: 22px 0 8px; }
.testi-card.light p { color: var(--ink-soft); font-size: .9rem; }
.testi-link { margin-top: auto; font-weight: 600; font-size: .85rem; color: var(--blue); padding-top: 20px; }
.testi-link:hover { text-decoration: underline; }
.testi-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.tn-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid #C9CEDE; background: transparent;
  font-size: 1rem; cursor: pointer; color: var(--ink);
  transition: all .25s;
}
.tn-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- pricing ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; margin: 6px 0 50px; }
.bt-label { font-weight: 600; font-size: .92rem; color: var(--grey); cursor: pointer; transition: color .2s; }
.bt-label.active { color: var(--blue); }
.toggle {
  width: 52px; height: 28px; border-radius: 999px;
  background: var(--blue); border: 0; cursor: pointer;
  position: relative; transition: background .25s;
}
.toggle i {
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; transition: transform .3s var(--ease);
  transform: translateX(24px);
}
.toggle[aria-checked="false"] { background: #C9CEDE; }
.toggle[aria-checked="false"] i { transform: translateX(0); }
.save-pill {
  font-size: .7rem; font-weight: 700;
  background: var(--green-soft); color: var(--green);
  border: 1px solid #BBE7C9;
  padding: 4px 11px; border-radius: 999px;
}
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; align-items: stretch; }
.price-card {
  border: 1.5px solid #E3E6F0; border-radius: 20px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.popular {
  border-color: var(--blue);
  box-shadow: 0 18px 50px rgba(11,65,245,.14);
  position: relative;
  transform: scale(1.02);
}
.price-card.popular:hover { transform: scale(1.02) translateY(-6px); }
.popular-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .06em;
  background: var(--blue); color: #fff;
  padding: 7px 16px; border-radius: 999px;
  white-space: nowrap;
}
.pc-name { font-family: var(--font-mono); font-weight: 600; font-size: .78rem; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 8px; }
.pc-name.blue { color: var(--blue); }
.pc-desc { font-size: .85rem; color: var(--grey); min-height: 42px; }
.pc-price { margin: 26px 0 4px; }
.pc-price strong { font-family: var(--font-head); font-weight: 800; font-size: 2.7rem; letter-spacing: -.03em; }
.pc-price.custom strong { font-size: 1.7rem; }
.pc-price span { color: var(--grey); font-size: .85rem; margin-left: 4px; }
.pc-bill { font-size: .76rem; color: var(--grey); margin-bottom: 24px; min-height: 18px; }
.pc-list { margin-top: 26px; padding-top: 22px; border-top: 1px solid #ECEEF4; display: grid; gap: 12px; }
.pc-list li { font-size: .85rem; padding-left: 26px; position: relative; color: var(--ink-soft); }
.pc-list li::before { position: absolute; left: 0; font-weight: 700; }
.pc-list li.yes::before { content: '✓'; color: var(--green); }
.pc-list li.no { color: #B0B6C4; }
.pc-list li.no::before { content: '✕'; color: #C9CEDE; }
.pc-note { margin-top: 20px; font-size: .74rem; color: var(--green); font-weight: 600; }

/* comparison table */
.compare-title { margin: 90px 0 34px; }
.table-wrap { overflow-x: auto; border-radius: 14px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: .85rem; text-align: center; min-width: 760px; }
.compare-table th {
  background: var(--blue); color: #fff;
  font-family: var(--font-mono); font-weight: 600; font-size: .72rem; letter-spacing: .08em;
  padding: 13px 16px;
}
.compare-table th:first-child { border-radius: 10px 0 0 10px; text-align: left; }
.compare-table th:last-child { border-radius: 0 10px 10px 0; }
.compare-table td { background: #fff; border: 1px solid #ECEEF4; border-left: 0; border-right: 0; padding: 11px 16px; color: var(--ink-soft); }
.compare-table td:first-child { border-left: 1px solid #ECEEF4; border-radius: 10px 0 0 10px; text-align: left; color: var(--ink); }
.compare-table td:last-child { border-right: 1px solid #ECEEF4; border-radius: 0 10px 10px 0; }
.compare-table .y { color: var(--blue); font-weight: 700; font-size: .76rem; }
.group-row td {
  background: var(--lav-deep) !important;
  font-family: var(--font-mono); font-weight: 600; font-size: .72rem; letter-spacing: .1em;
  color: var(--ink) !important; text-align: center !important;
  border: 0 !important; border-radius: 10px !important;
  padding: 12px;
}

/* ---------- FAQ ---------- */
.faq-section { padding-top: 60px; }
.faq-list { max-width: 760px; margin: 40px auto 0; text-align: left; display: grid; gap: 14px; }
.faq-item {
  background: var(--lav);
  border-radius: 14px;
  overflow: hidden;
  transition: background .25s;
}
.faq-item:hover { background: var(--lav-deep); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 700; font-size: .98rem;
  padding: 20px 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { font-size: 1.3rem; font-weight: 400; color: var(--blue); transition: transform .3s var(--ease); }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: .92rem; max-width: 640px; }

/* ---------- final CTA ---------- */
.cta-section { padding: 40px 0 0; background: var(--white); }
.cta-panel {
  background: var(--blue);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 90px 40px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,255,255,.14), transparent 65%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1; letter-spacing: -.025em;
  margin-bottom: 36px;
}
.cta-title em { color: rgba(255,255,255,.55); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.cta-assure { font-size: .88rem; color: rgba(255,255,255,.85); margin-bottom: 60px; }
.cta-app {
  max-width: 880px; margin: 0 auto;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.25);
  text-align: left;
  transform: translateY(0);
}
.cta-app .browser-bar { border-radius: 16px 16px 0 0; }
.app-body { display: grid; grid-template-columns: 180px 1fr; background: #fff; }
.app-side { background: var(--lav); padding: 18px 14px; font-size: .72rem; }
.app-logo { font-family: var(--font-head); font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.app-logo, .app-nav { padding: 4px 8px; }
.app-nav { color: var(--grey); margin-bottom: 6px; border-radius: 8px; }
.app-nav.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.app-nav.mk { margin-top: 22px; }
.app-main { padding: 18px 22px; font-size: .74rem; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.app-head strong { font-size: .85rem; }
.app-btns { display: flex; gap: 8px; }
.app-mod {
  display: flex; align-items: center; gap: 10px;
  background: var(--lav); border-radius: 8px;
  padding: 9px 12px; margin: 10px 0 6px;
}
.app-total { margin-left: auto; font-family: var(--font-mono); font-size: .64rem; background: #fff; padding: 3px 9px; border-radius: 6px; color: var(--ink-soft); }
.app-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px 8px 26px;
  border-bottom: 1px solid #F1F3F9;
  color: var(--ink-soft);
}
.row-tags { display: flex; gap: 7px; align-items: center; }
.status { font-size: .6rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.status.done { background: var(--green-soft); color: var(--green); }
.status.prog { background: var(--blue-soft); color: var(--blue); }
.status.todo { background: #EEF0F5; color: var(--grey); }

/* ---------- footer ---------- */
.footer { background: #14181F; color: #B7BCC9; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer-brand p:last-child { font-size: .92rem; max-width: 320px; margin-top: 18px; }
.footer h4 { font-family: var(--font-mono); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .1em; margin-bottom: 20px; }
.footer nav a { display: block; font-size: .9rem; margin-bottom: 13px; transition: color .2s; }
.footer nav a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  border-top: 1px solid #2A2F3A;
  padding-top: 28px; padding-bottom: 28px;
  font-size: .85rem;
}
.footer-legal { display: flex; gap: 28px; }
.footer-legal a:hover { color: #fff; }

/* ---------- sticky CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 18px; left: 50%;
  transform: translate(-50%, 120px);
  display: flex; align-items: center; gap: 18px;
  background: rgba(20,24,31,.92);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 999px;
  padding: 10px 12px 10px 24px;
  box-shadow: 0 16px 44px rgba(0,0,0,.35);
  z-index: 90;
  transition: transform .5s var(--ease), opacity .4s;
  opacity: 0;
  font-size: .85rem;
  white-space: nowrap;
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * .1s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 560px; }
  .stats-head { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .feat-card, .feat-card.wide { grid-column: span 3; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-copy { order: 1; }
  .split.rev .split-visual { order: 2; }
  .market-panel { padding: 36px 28px 44px; }
  .market-cards { grid-template-columns: 1fr 1fr; }
  .mk-1, .mk-2 { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 44px 0 70px; }
  .hero-visual { height: 330px; }
  .fc-1 { left: 0; }
  .fc-3 { right: -10px; top: 120px; }
  .trio-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 0; }
  .feat-card, .feat-card.wide { grid-column: span 6; }
  .feat-banner { grid-template-columns: 1fr; padding: 34px 26px; }
  .fb-cards { grid-template-columns: 1fr; }
  .market-cards { grid-template-columns: 1fr; }
  .proof-orbit { display: none; }
  .proof-stats { grid-template-columns: 1fr; gap: 40px; }
  .pstat { border-left: 0; }
  .photo-panel { height: 320px; }
  .pp-1 { left: 4%; max-width: 270px; }
  .pp-2 { right: 4%; max-width: 290px; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .sticky-cta { width: calc(100% - 32px); justify-content: space-between; }
}
