/* STAK landing styles — adapted from stak-erp-landing.vercel.app design */
:root {
  --brand: #0B5D5B;
  --brand-2: #0E7A6F;
  --accent: #0E8A6E;
  --ink: #0B1F2A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E4EBEA;
  --bg: #FFFFFF;
  --tint: #F3F8F7;
  --dark: #08262B;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 42, .04), 0 8px 24px rgba(11, 31, 42, .06);
  --shadow-lg: 0 24px 60px -18px rgba(8, 38, 43, .28);
  --font-h: "Outfit", system-ui, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-b); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-h); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.accent { color: var(--accent); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.eyebrow.center { text-align: center; color: var(--ink-2); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 26px; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 6px 18px -6px rgba(11, 93, 91, .6); }
.btn--primary:hover { box-shadow: 0 10px 26px -8px rgba(11, 93, 91, .7); }
.btn--ghost { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--brand); }
.btn--outline-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,.1); }
.btn--link-white { color: #CFE9E3; padding: 0 8px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(0,0,0,.15); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { display: inline-flex; align-items: center; font-family: var(--font-h); font-weight: 800; font-size: 26px; letter-spacing: .02em; color: var(--brand); }
.logo__mark { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 1px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), #16A085); color: #fff; font-size: 20px; }
.logo__mark.sm { width: 20px; height: 20px; font-size: 13px; border-radius: 6px; }
.logo--light { color: #fff; }
.nav__links { display: flex; gap: 32px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--accent); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav__burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.mobile-menu { display: grid; padding: 8px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 720px; background: radial-gradient(closest-side, rgba(14, 138, 110, .13), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; }
.hero__title { margin: 16px 0 20px; font-size: clamp(38px, 5vw, 60px); font-weight: 700; }
.hero__lead { max-width: 520px; color: var(--ink-2); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__pricing-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.hero__pricing-link strong { color: var(--accent); }
.hero__pricing-link svg { width: 15px; height: 15px; color: var(--accent); }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: var(--ink-2); }
.hero__ticks li { display: flex; align-items: center; gap: 6px; }
.hero__ticks svg { width: 16px; height: 16px; color: var(--accent); }

/* Mock dashboard */
.mock { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 11px; transform: perspective(1600px) rotateY(var(--ry, -4deg)) rotateX(var(--rx, 2deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mock__bar { display: flex; gap: 6px; padding: 12px 16px; }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: #F87171; }
.mock__bar span:nth-child(2) { background: #FBBF24; }
.mock__bar span:nth-child(3) { background: #34D399; }
.mock__body { display: grid; grid-template-columns: 132px 1fr; }
.mock__side { padding: 4px 10px 16px; border-right: 1px solid var(--line); }
.mock__logo { display: flex; align-items: center; margin: 4px 6px 16px; font-family: var(--font-h); font-weight: 800; font-size: 17px; color: var(--brand); }
.mock__side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.mock__side li svg { width: 13px; height: 13px; }
.mock__side li.on { background: #E6F4F1; color: var(--brand); font-weight: 600; }
.mock__main { padding: 4px 18px 18px; background: #FAFCFC; }
.mock__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock__search { flex: 1; max-width: 220px; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; background: #F1F5F4; color: #94A3B8; }
.mock__search svg { width: 12px; height: 12px; }
.mock__user { display: flex; align-items: center; gap: 8px; line-height: 1.2; }
.mock__user small { display: block; color: var(--muted); font-size: 9.5px; }
.mock__bell svg { width: 14px; height: 14px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #1E3A8A; color: #fff; font-size: 10px; font-weight: 700; }
.mock__hello { margin-top: 16px; font-size: 16px; }
.mock__sub { color: var(--muted); font-size: 10.5px; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.kpi { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; gap: 3px; }
.kpi small { color: var(--muted); font-size: 9.5px; }
.kpi b { font-size: 13px; font-family: var(--font-h); }
.kpi em { font-style: normal; font-size: 9px; color: var(--muted); }
.kpi em.up { color: #059669; }
.kpi em.warn { color: #DC2626; }
.kpi__ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; margin-bottom: 4px; }
.kpi__ic svg { width: 13px; height: 13px; }
.kpi__ic.t { background: #E6F4F1; color: var(--brand); }
.kpi__ic.o { background: #FFEDE6; color: #EA580C; }
.kpi__ic.y { background: #FEF3C7; color: #D97706; }
.kpi__ic.b { background: #E0E7FF; color: #4F46E5; }
.mock__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 10px; }
.mock__card { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mock__card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mock__card-h small { color: var(--muted); font-size: 9.5px; }
.mock__card-h .link { color: var(--accent); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 96px; padding-top: 6px; background: repeating-linear-gradient(to top, transparent 0 23px, #EEF2F1 23px 24px); }
.bars span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--brand), #14B8A6); transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
.bars span:nth-child(odd) { opacity: .55; }
@keyframes grow { from { transform: scaleY(0); } }
.orders li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #F1F5F4; font-weight: 500; }
.orders li:last-child { border: 0; }
.pill { font-style: normal; font-size: 9px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.pill--blue { background: #E0F2FE; color: #0369A1; }
.pill--green { background: #DCFCE7; color: #15803D; }
.pill--amber { background: #FEF3C7; color: #B45309; }

/* ---------- Trusted ---------- */
.trusted { padding: 40px 0 56px; }
.trusted__sub { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }
.logos { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 36px; margin-top: 32px; color: #475569; filter: grayscale(1); opacity: .85; }
.wm { font-family: var(--font-h); font-weight: 800; font-size: 24px; letter-spacing: -.01em; line-height: 1; }
.wm--oval { padding: 8px 18px; border: 2.5px solid currentColor; border-radius: 50%; font-style: italic; }
.wm--pz { display: grid; text-align: center; font-style: italic; font-size: 20px; }
.wm--pz small { font-size: 22px; font-style: normal; }
.wm--jesa { font-size: 30px; font-style: italic; letter-spacing: .02em; }
.wm--kas { font-size: 17px; font-weight: 700; }
.wm--omega { font-weight: 500; font-size: 26px; }
.wm--ent { display: grid; font-weight: 700; font-size: 20px; }
.wm--ent small { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; justify-self: end; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); border-radius: 48px; margin-inline: 12px; }
.section__head { margin-bottom: 44px; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.section__head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.section__head p a { color: var(--accent); font-weight: 600; }
.section__head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section__head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 28px; border-radius: 20px; background: linear-gradient(120deg, var(--dark), #0D3D40 60%, #0B4D4B); color: #fff; box-shadow: var(--shadow-lg); }
.stat { display: flex; align-items: center; gap: 16px; padding: 6px 18px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); }
.stat__ic svg { width: 22px; height: 22px; }
.stat b { display: block; font-family: var(--font-h); font-size: 28px; color: #F5C84B; line-height: 1.1; }
.stat small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #CFE3E0; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.benefit { position: relative; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.benefit::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c); color: #fff; box-shadow: 0 10px 20px -10px var(--c); }
.benefit__ic svg { width: 24px; height: 24px; }
.benefit h3 { margin: 22px 0 10px; font-size: 21px; }
.benefit p { color: var(--muted); font-size: 15px; }
.checks { display: grid; gap: 10px; margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--accent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }

.audience { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px dashed #C9DAD7; }
.audience h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--font-b); font-weight: 700; }
.audience__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.audience__grid div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; }
.audience__grid svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #E6F4F1; color: var(--brand); }
.audience__grid b { font-size: 15px; }
.audience__grid span { font-size: 13.5px; color: var(--muted); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.module { display: flex; gap: 16px; padding: 20px; border-radius: 16px; transition: background .2s, box-shadow .2s; }
.module:hover { background: #fff; box-shadow: var(--shadow); }
.module__ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.module__ic svg { width: 24px; height: 24px; }
.module h4 { font-size: 16.5px; font-weight: 600; }
.module p { margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.module__tier { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--brand); }

/* Home: compact module tiles */
.modules-lite { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mod-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-align: center; font-size: 14px; font-weight: 600; transition: transform .2s, box-shadow .2s, border-color .2s; }
.mod-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, #fff); }

/* Features page */
.page-hero { position: relative; padding: 72px 0 48px; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% 10% auto; height: 520px; background: radial-gradient(closest-side, rgba(14, 138, 110, .12), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 820px; margin: 14px auto 0; font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; }
.page-hero__lead { max-width: 640px; margin: 18px auto 0; color: var(--ink-2); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.feature-group.section { padding: 72px 0; }
.feature-group + .feature-group:not(.section--tint) { padding-top: 72px; }
.fmods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.fmod { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); --c: var(--accent); }
.fmod__top { display: flex; align-items: center; justify-content: space-between; }
.fmod__top .module__tier { margin: 0; }
.fmod h3 { margin-top: 18px; font-size: 19px; }
.fmod p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.fmod .checks { margin-top: 16px; font-size: 14px; }
#compare-section .compare { margin-top: 0; }

/* Pricing */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.toggle[hidden] { display: none; }
.toggle button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.toggle button.is-on { background: var(--brand); color: #fff; }
.save { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #22C55E; color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--popular { border: 2px solid var(--brand); box-shadow: 0 24px 50px -24px rgba(11, 93, 91, .55); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 5px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 22px; font-weight: 700; }
.plan__tag { margin-top: 4px; font-size: 14px; color: var(--muted); min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; font-family: var(--font-h); }
.plan__price .cur { font-weight: 700; font-size: 22px; }
.plan__price b { font-size: 38px; letter-spacing: -.03em; font-weight: 700; }
.plan__price small { color: var(--muted); font-family: var(--font-b); font-size: 14px; }
.plan__usd { margin-top: 2px; font-size: 12.5px; color: var(--muted); min-height: 38px; line-height: 1.5; }
.plan__usd b { color: var(--ink-2); font-weight: 600; }
.plan__usd s { margin-left: 2px; color: #94A3B8; }
.plan__was { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 22px; font-size: 15px; font-weight: 600; color: #94A3B8; }
.plan__was s { text-decoration-thickness: 2px; text-decoration-color: #E11D48; }
.plan__save { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #DCFCE7; color: #15803D; }
.plan__saving { color: #15803D; font-weight: 600; }
.plan__seats { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: var(--tint); font-size: 13.5px; font-weight: 600; color: var(--brand); }
.plan__seats svg { width: 16px; height: 16px; }
.plan .checks { flex: 1; align-content: start; margin: 20px 0 24px; font-size: 14px; }
.plan__sales { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 600; color: var(--accent); }
.plan__sales:hover { text-decoration: underline; }
.plan__sales.muted { color: var(--muted); font-weight: 500; }
.plans__note { margin-top: 24px; text-align: center; font-size: 13.5px; color: var(--muted); }
.plans__note b { color: var(--ink-2); font-weight: 600; }

/* Compare table */
.compare.compare--collapsible { margin-top: 48px; padding: 0; overflow: hidden; }
.compare__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border: 0; background: #fff; text-align: left; }
.compare__toggle b { display: block; font-family: var(--font-h); font-size: 20px; color: var(--ink); }
.compare__toggle small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.compare__toggle:hover b { color: var(--accent); }
.compare__chev { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); position: relative; transition: transform .25s; }
.compare__chev::before { content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translate(-50%, -50%) rotate(45deg); }
.compare.is-open .compare__chev { transform: rotate(180deg); }
.compare__body { padding: 0 28px 28px; border-top: 1px solid var(--line); }
.compare__intro { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.compare__more { margin-top: 18px; text-align: center; }
.compare__more a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.compare__more svg { width: 16px; height: 16px; }
.compare { margin-top: 64px; padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare__head h3 { font-size: 26px; }
.compare__head p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.compare__scroll { position: relative; margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare__table thead th { position: sticky; top: 0; padding: 16px 12px; background: #fff; text-align: center; vertical-align: bottom; border-bottom: 2px solid var(--line); }
.compare__table thead th b { display: block; font-family: var(--font-h); font-size: 18px; }
.compare__table thead th span { display: block; margin-top: 2px; font-weight: 600; color: var(--brand); }
.compare__table thead th small { color: var(--muted); font-weight: 500; }
.compare__table thead th.pop { background: #E9F5F2; border-radius: 14px 14px 0 0; }
.compare__table th[scope="row"] { padding: 12px 12px 12px 4px; text-align: left; font-weight: 500; width: 40%; }
.compare__table th[scope="row"] small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.compare__table td { text-align: center; padding: 12px; border-bottom: 1px solid #F0F4F3; }
.compare__table tbody tr:not(.grp) th { border-bottom: 1px solid #F0F4F3; }
.compare__table td svg { width: 20px; height: 20px; margin: auto; }
.compare__table td.yes svg { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; stroke-width: 3; }
.compare__table td.no svg { color: #CBD5E1; }
.compare__table td.pop { background: #F4FAF8; }
.compare__table .grp th { padding: 20px 12px 10px 4px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--line); }
.compare__table tfoot td { padding-top: 20px; border: 0; }
.compare__table tfoot td.pop, .compare__table tfoot td { background: none; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #BFD8D3 0 8px, transparent 8px 16px); }
.step { position: relative; padding: 0 8px; text-align: center; }
.step > svg { width: 68px; height: 68px; margin: 0 auto 18px; padding: 18px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--brand); position: relative; }
.step__n { position: absolute; top: -4px; left: calc(50% + 18px); z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.step h4 { font-size: 17px; }
.step p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq__list details { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s; }
.faq__list details[open] { box-shadow: var(--shadow); }
.faq__list summary { position: relative; padding: 20px 56px 20px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 20px; font-weight: 500; transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }

/* CTA */
.cta-wrap { padding: 72px 0 88px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 44px 48px; border-radius: 28px; color: #fff; background: radial-gradient(600px 240px at 90% 0%, rgba(20, 184, 166, .35), transparent), linear-gradient(120deg, var(--dark), #0B4D4B); box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(26px, 3vw, 36px); }
.cta p { margin-top: 8px; color: #CFE3E0; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Footer */
.footer { background: var(--dark); color: #B6CCC8; padding: 64px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__blurb { margin-top: 14px; max-width: 280px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 14px; font-family: var(--font-b); letter-spacing: 0; }
.footer a:not(.logo) { display: block; padding: 5px 0; }
.footer a:not(.logo):hover { color: #fff; }
.footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars span, .modal[open] { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .modules { grid-template-columns: repeat(3, 1fr); }
  .modules-lite { grid-template-columns: repeat(4, 1fr); }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .benefits { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: left; }
  .step > svg { grid-row: span 2; margin: 0; }
  .step__n { left: 50px; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .faq .section__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .nav__cta .btn--ghost { display: none; }
  .hero { padding-top: 40px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__kpis { grid-template-columns: repeat(2, 1fr); }
  .mock__row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section--tint { border-radius: 28px; margin-inline: 0; }
  .stats { grid-template-columns: 1fr; padding: 16px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
  .modules { grid-template-columns: 1fr; }
  .modules-lite { grid-template-columns: repeat(2, 1fr); }
  .compare__toggle { padding: 18px; }
  .compare__body { padding: 0 4px 20px; }
  .audience__grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .compare { padding: 20px 14px; }
  .logos { justify-content: center; }
  .cta { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}


/* ======================= Motion ======================= */
:root { --ease-out: cubic-bezier(.2,.8,.2,1); --ease-spring: cubic-bezier(.34,1.56,.64,1); }

/* Staggered reveal */
.reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* Hero entrance (only when JS is running, so content never stays hidden) */
.js .hero__copy > * { opacity: 0; transform: translateY(18px); }
.js .hero.is-in .hero__copy > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .9s var(--ease-out); }
.js .hero.is-in .hero__copy > :nth-child(2) { transition-delay: .08s; }
.js .hero.is-in .hero__copy > :nth-child(3) { transition-delay: .18s; }
.js .hero.is-in .hero__copy > :nth-child(4) { transition-delay: .28s; }
.js .hero.is-in .hero__copy > :nth-child(5) { transition-delay: .36s; }
.js .hero.is-in .hero__copy > :nth-child(6) { transition-delay: .44s; }
.js .hero .mock { opacity: 0; translate: 0 36px; scale: .96; }
.js .hero.is-in .mock {
  opacity: 1; translate: 0 0; scale: 1;
  transition: opacity .9s ease .15s, translate 1.1s var(--ease-out) .15s, scale 1.1s var(--ease-out) .15s, transform .5s var(--ease-out);
  animation: float 7s ease-in-out 1.6s infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.js .hero .kpi, .js .hero .mock__card, .js .hero .orders li { opacity: 0; transform: translateY(8px); }
.js .hero.is-in .kpi, .js .hero.is-in .mock__card, .js .hero.is-in .orders li { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s var(--ease-out); }
.js .hero.is-in .kpi:nth-child(1) { transition-delay: .45s; }
.js .hero.is-in .kpi:nth-child(2) { transition-delay: .52s; }
.js .hero.is-in .kpi:nth-child(3) { transition-delay: .59s; }
.js .hero.is-in .kpi:nth-child(4) { transition-delay: .66s; }
.js .hero.is-in .mock__card { transition-delay: .7s; }
.js .hero.is-in .orders li:nth-child(1) { transition-delay: 1s; }
.js .hero.is-in .orders li:nth-child(2) { transition-delay: 1.1s; }
.js .hero.is-in .orders li:nth-child(3) { transition-delay: 1.2s; }
.js .hero.is-in .orders li:nth-child(4) { transition-delay: 1.3s; }
.js .hero .bars span { animation-play-state: paused; }
.js .hero.is-in .bars span { animation-play-state: running; animation-delay: calc(var(--d) + .8s); }

/* ======================= Laravel integration additions ======================= */
/* Font Awesome icons (backend-driven items) sized like the demo's inline SVGs */
.benefit__ic i, .module__ic i, .stat__ic i { font-size: 22px; line-height: 1; }
.mod-tile .module__ic { width: 50px; height: 50px; }
.logo img { height: 64px; width: auto; }
.logo--light img { filter: brightness(0) invert(1); }
.hero__ticks svg { width: 16px; height: 16px; color: var(--accent); }
.btn svg { flex: none; }
.stat__ic svg, .benefit__ic svg { color: currentColor; }
.audience__grid i.fas { grid-row: span 2; width: 40px; height: 40px; padding: 11px; border-radius: 12px; background: #E6F4F1; color: var(--brand); text-align: center; }

/* Benefits highlight (features.highlight) */
.highlight { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); --c: var(--accent); }
.highlight__ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--c); color: #fff; font-size: 24px; }
.highlight h3 { font-size: 20px; }
.highlight p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.section__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* Module tile descriptions on full modules page */
.modules-grid-full { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Plan cards: feature list overflow + show more */
.plan .checks { margin: 20px 0 8px; }
.plan .checks li:nth-child(n+8) { display: none; }
.plan.is-expanded .checks li { display: list-item; display: block; }
.plan__more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 18px; padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.plan__more i { transition: transform .2s; font-size: 11px; }
.plan.is-expanded .plan__more i { transform: rotate(180deg); }
.plan__spacer { height: 18px; }
.plan .btn { margin-top: auto; }
.plan__seats i { font-size: 14px; }

/* Compare table cells using Font Awesome */
.compare__table td .tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; }
.compare__table td .cross { color: #CBD5E1; }
.compare__table thead th:first-child { text-align: left; }

/* Steps icon via svg already styled (.step > svg) */

/* Footer extras */
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer__powered { display: inline-flex; align-items: center; gap: 8px; color: #B6CCC8; }
.footer__powered img { height: 22px; width: auto; }
.footer__fine { margin-top: 8px; font-size: 12px; color: #7F9C97; }

/* Page hero for standalone pages */
.page-hero .eyebrow { display: inline-block; }

/* ---------- Demo request modal (existing #demoModal markup / JS) ---------- */
#demoModal { display: none; position: fixed; inset: 0; z-index: 100; padding: 24px 16px; overflow-y: auto; background: rgba(8, 38, 43, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
#demoModal .modal-content { position: relative; width: min(560px, 100%); margin: 6vh auto; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); padding: 32px; animation: pop .25s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
#demoModal .modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tint); font-size: 22px; color: var(--ink-2); }
#demoModal .modal-header h3 { font-size: 26px; }
#demoModal .modal-header p { margin-top: 6px; color: var(--muted); }
#demoModal form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 8px; }
#demoModal .floating-input { position: relative; }
#demoModal .floating-input input { width: 100%; padding: 20px 13px 8px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
#demoModal .floating-input label { position: absolute; left: 14px; top: 14px; font-size: 14px; color: var(--muted); pointer-events: none; transition: all .15s; }
#demoModal .floating-input input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14, 138, 110, .12); }
#demoModal .floating-input input:focus + label, #demoModal .floating-input input:not(:placeholder-shown) + label { top: 5px; font-size: 11px; font-weight: 600; color: var(--accent); }
#demoModal .floating-input.error input { border-color: #DC2626; }
#demoModal .error-message { display: none; margin-top: 4px; font-size: 12px; color: #DC2626; }
#demoModal .submit { grid-column: 1 / -1; height: 48px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px -6px rgba(11, 93, 91, .6); }
#demoModal .submit:disabled { opacity: .7; }
#demoModal .modal-footer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
#demoModal .contact-info { display: grid; gap: 8px; margin-top: 8px; }
#demoModal .contact-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); }
#demoModal .contact-item i { color: var(--accent); }
#demoModal .contact-item a { color: var(--accent); font-weight: 600; }
@media (max-width: 680px) { #demoModal form { grid-template-columns: 1fr; } #demoModal .modal-content { padding: 24px; } .highlight { flex-direction: column; align-items: flex-start; } }
