/* ==========================================================================
   CRMit — Sales website design system
   Style inspired by clickup.com: bold type, purple→pink gradients,
   rounded cards, generous spacing, playful product blocks.
   ========================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand */
  --c-purple:   #7B5CFF;
  --c-purple-d: #5B3DF5;
  --c-pink:     #FD3289;
  --c-magenta:  #B14EFF;
  --c-blue:     #49CCF9;
  --c-cyan:     #18C7B7;
  --c-amber:    #FFC542;

  /* Neutrals */
  --c-ink:      #1A1330;
  --c-ink-2:    #423B57;
  --c-muted:    #6B6680;
  --c-line:     #ECE9F5;
  --c-bg:       #FFFFFF;
  --c-bg-soft:  #F7F6FC;
  --c-bg-dark:  #160E2E;

  /* Gradients */
  --g-brand: linear-gradient(99deg, #7B5CFF 0%, #B14EFF 45%, #FD3289 100%);
  --g-brand-soft: linear-gradient(120deg, #F3EEFF 0%, #FCEDF6 100%);
  --g-cool:  linear-gradient(120deg, #49CCF9 0%, #7B5CFF 100%);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  /* Shadow */
  --sh-sm: 0 4px 14px rgba(36, 18, 77, .07);
  --sh-md: 0 18px 44px rgba(50, 26, 99, .12);
  --sh-lg: 0 40px 80px rgba(50, 26, 99, .18);

  --maxw: 1200px;
  --nav-h: 72px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ----------  Typography  ---------- */
h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--c-ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { margin: 0 0 1rem; color: var(--c-ink-2); }
.lead { font-size: 1.25rem; color: var(--c-ink-2); }

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

/* Hero word rotator — vertical "slot" swap for a sense of depth */
.word-rotator {
  display: inline-flex;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}
.word-rotator .wr-word {
  display: inline-block;
  white-space: nowrap;
  will-change: transform, opacity;
}
.word-rotator .wr-word.wr-out { animation: wrOut .28s cubic-bezier(.4,0,.2,1) forwards; }
.word-rotator .wr-word.wr-in  { animation: wrIn  .28s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes wrOut { from { transform: translateY(0);      opacity: 1; }
                   to   { transform: translateY(-0.9em); opacity: 0; } }
@keyframes wrIn  { from { transform: translateY(0.9em);  opacity: 0; }
                   to   { transform: translateY(0);       opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .word-rotator .wr-word.wr-out,
  .word-rotator .wr-word.wr-in { animation: none; }
}

/* ----------  Layout  ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--c-bg-soft); }
.bg-gradient-soft { background: var(--g-brand-soft); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-purple-d);
  margin-bottom: 16px;
}
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.15rem; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--g-brand); color: #fff; box-shadow: 0 10px 26px rgba(123, 92, 255, .4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(177, 78, 255, .45); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-ghost { background: #fff; color: var(--c-ink); box-shadow: inset 0 0 0 2px var(--c-line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--c-purple); color: var(--c-purple-d); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,.28); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--c-line); box-shadow: 0 4px 20px rgba(36,18,77,.05); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; }
/* Logo mark — "Stack" rebrand. Rendered from one SVG so every placement
   (nav, footer, hero badges, brand page) updates from here. The legacy "C"
   text inside the span is hidden via transparent colour. */
.logo-mark {
  display: inline-block; flex: 0 0 auto;
  width: 42px; height: 42px;
  background: url(../img/logo-mark.svg) center / contain no-repeat;
  color: transparent; font-size: 0; line-height: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-weight: 600; font-size: .98rem; color: var(--c-ink-2);
  padding: 10px 14px; border-radius: 10px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--c-ink); border-radius: 2px; transition: .25s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 84px 0 72px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(123,92,255,.16), transparent 60%),
    radial-gradient(55% 50% at 85% 5%, rgba(253,50,137,.14), transparent 60%),
    radial-gradient(50% 40% at 50% 100%, rgba(73,204,249,.12), transparent 70%);
}
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-sm);
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--c-ink-2);
  margin-bottom: 26px;
}
.hero .pill b { color: var(--c-purple-d); }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .lead { max-width: 620px; margin: 18px auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--c-muted); }
.hero-note b { color: var(--c-ink); }

.hero-shot {
  margin: 56px auto 0; max-width: 1040px; position: relative;
}
.browser {
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-lg);
  border: 1px solid var(--c-line); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line);
}
.browser-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-bar .dot:nth-child(1) { background: #FF5F57; }
.browser-bar .dot:nth-child(2) { background: #FEBC2E; }
.browser-bar .dot:nth-child(3) { background: #28C840; }
.browser-bar .url {
  margin-left: 14px; font-size: .8rem; color: var(--c-muted); background: #fff;
  padding: 6px 16px; border-radius: 999px; border: 1px solid var(--c-line);
}

/* Floating mini cards over hero shot */
.float-card {
  position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 600;
  animation: float 5s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; color:#fff; }
.float-card.fc-1 { top: 18%; left: -34px; animation-delay: 0s; }
.float-card.fc-2 { top: 56%; right: -40px; animation-delay: 1.2s; }
.float-card.fc-3 { bottom: -22px; left: 12%; animation-delay: 2.1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ----------  Logo strip  ---------- */
.logos { padding: 40px 0 8px; }
.logos p { text-align: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 48px; justify-content: center; align-items: center; opacity: .8; }
.logo-row span { font-size: 1.4rem; font-weight: 800; color: #B3AEC6; letter-spacing: -.02em; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; }
.stat .lbl { color: var(--c-muted); font-weight: 600; font-size: .95rem; }

/* ==========================================================================
   Feature: alternating rows
   ========================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 110px; }
.feature-row.reverse .fr-media { order: 2; }
.fr-copy h2 { margin-bottom: 18px; }
.fr-copy .lead { margin-bottom: 24px; }
.fr-list { display: grid; gap: 14px; margin-top: 8px; }
.fr-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--c-ink-2); }
.fr-list .tick {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--g-brand);
  display: grid; place-items: center; color: #fff; font-size: .75rem; margin-top: 2px;
}
.fr-media { position: relative; }
.mock {
  border-radius: var(--r-lg); box-shadow: var(--sh-md); border: 1px solid var(--c-line);
  background: #fff; overflow: hidden;
}
.mock-head { padding: 16px 20px; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; gap: 10px; font-weight: 700; }
.mock-body { padding: 20px; }
.tagchip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 700; margin-bottom: 18px;
}

/* ==========================================================================
   Module grid ("everything" section)
   ========================================================================== */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative; overflow: hidden;
}
.module:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.module .m-ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; color: #fff; margin-bottom: 18px;
}
.module h3 { font-size: 1.18rem; margin-bottom: 8px; }
.module p { font-size: .96rem; margin: 0; }

/* color helpers for icon tiles */
.ic-purple  { background: linear-gradient(135deg,#7B5CFF,#B14EFF); }
.ic-pink    { background: linear-gradient(135deg,#FD3289,#FF7AB0); }
.ic-blue    { background: linear-gradient(135deg,#49CCF9,#4A8BFF); }
.ic-cyan    { background: linear-gradient(135deg,#18C7B7,#3BD8A0); }
.ic-amber   { background: linear-gradient(135deg,#FFB02E,#FF8A3D); }
.ic-magenta { background: linear-gradient(135deg,#B14EFF,#7B5CFF); }
.bg-purple{background:rgba(123,92,255,.12);color:var(--c-purple-d);}
.bg-pink{background:rgba(253,50,137,.12);color:#D81B6A;}
.bg-blue{background:rgba(73,204,249,.14);color:#1488C4;}
.bg-cyan{background:rgba(24,199,183,.14);color:#0E9B8C;}
.bg-amber{background:rgba(255,176,46,.16);color:#C97E10;}

/* ==========================================================================
   Tabs (interactive product showcase)
   ========================================================================== */
.tabs-nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn {
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--c-ink-2);
  background: var(--c-bg-soft); transition: .2s; border: 1px solid transparent;
}
.tab-btn:hover { color: var(--c-ink); }
.tab-btn.active { background: var(--c-ink); color: #fff; }
.tab-panel { display: none; animation: fade .4s ease; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 30px; box-shadow: var(--sh-sm); }
.tcard .stars { color: var(--c-amber); margin-bottom: 14px; letter-spacing: 2px; }
.tcard blockquote { margin: 0 0 22px; font-size: 1.05rem; font-weight: 600; color: var(--c-ink); }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--g-brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.tcard .who b { display: block; font-size: .95rem; }
.tcard .who span { font-size: .85rem; color: var(--c-muted); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; font-weight: 700; }
.switch { width: 56px; height: 30px; border-radius: 999px; background: var(--c-line); position: relative; transition: background .2s; }
.switch.on { background: var(--c-purple); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: var(--sh-sm); }
.switch.on::after { transform: translateX(26px); }
.save-badge { font-size: .8rem; background: rgba(24,199,183,.16); color: var(--c-cyan); padding: 4px 10px; border-radius: 999px; font-weight: 800; }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 32px 26px;
  display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.plan.featured { border: 2px solid var(--c-purple); box-shadow: var(--sh-md); }
.plan .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--g-brand); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .05em;
  padding: 6px 16px; border-radius: 999px; text-transform: uppercase;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .ptag { color: var(--c-muted); font-size: .92rem; min-height: 42px; }
.plan .price { margin: 16px 0 6px; }
.plan .price .amt { font-size: 3rem; font-weight: 900; letter-spacing: -.03em; }
.plan .price .per { color: var(--c-muted); font-weight: 600; }
.plan .price-note { font-size: .82rem; color: var(--c-muted); margin-bottom: 22px; }
.plan ul.feats { display: grid; gap: 12px; margin: 8px 0 28px; }
.plan ul.feats li { display: flex; gap: 10px; font-size: .94rem; font-weight: 500; color: var(--c-ink-2); }
.plan ul.feats .tick { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: rgba(24,199,183,.16); color: var(--c-cyan); display: grid; place-items: center; font-size: .7rem; font-weight: 900; margin-top: 2px; }
.plan .btn { margin-top: auto; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; border-radius: var(--r-xl); padding: 72px 40px; text-align: center; overflow: hidden; background: var(--c-bg-dark); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--g-brand); opacity: .92; z-index: 0; }
.cta-band::after {
  content: ""; position: absolute; inset: -40%; z-index: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.22), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,.18), transparent 40%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 540px; margin: 12px auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: 1.1rem; font-weight: 700; color: var(--c-ink); }
.faq-q .chev { transition: transform .25s; color: var(--c-purple); font-size: 1.4rem; flex: 0 0 auto; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 24px; margin: 0; }

/* ==========================================================================
   Forms (contact / demo)
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 40px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--c-line);
  font-family: inherit; font-size: 1rem; color: var(--c-ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-purple); box-shadow: 0 0 0 4px rgba(123,92,255,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.show { display: block; }
.form-error { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(253,50,137,.08); color: #D81B6A; font-weight: 600; font-size: .92rem; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--g-brand); color: #fff; display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 18px; }

/* contact split */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .info-item .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; flex: 0 0 auto; }
.contact-info .info-item b { display: block; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { text-align: center; padding: 72px 0 40px; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, rgba(123,92,255,.12), transparent 65%);
}
.page-hero h1 { max-width: 18ch; margin-inline: auto; }
.page-hero p { max-width: 600px; margin: 16px auto 0; font-size: 1.2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--c-bg-dark); color: #B9B3D0; padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 40px 26px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about p { color: #9A93B8; font-size: .95rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; color: #B9B3D0; font-size: .95rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact { margin-top: 20px; display: grid; gap: 5px; }
.footer-contact a { color: #B9B3D0; font-size: .92rem; font-weight: 600; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .15s; }
.footer-social a:hover { background: var(--c-purple); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #8A83A8; flex-wrap: wrap; }
.footer-bottom a { color: #8A83A8; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .module-grid, .tcards { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .fr-media { order: 0; }
  .feature-row + .feature-row { margin-top: 72px; }
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 16px; gap: 4px; box-shadow: var(--sh-md); border-bottom: 1px solid var(--c-line);
  }
  .nav.open .nav-links a { padding: 14px; border-radius: 12px; }
  .section { padding: 64px 0; }
  .float-card { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .module-grid, .tcards, .price-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 52px 24px; }
}

/* ==========================================================================
   Integrations
   ========================================================================== */
.logo-tile {
  display: grid; place-items: center; border-radius: 16px; color: #fff;
  font-weight: 800; letter-spacing: -.02em; box-shadow: var(--sh-sm); flex: 0 0 auto;
}
.logo-tile.sm { width: 58px; height: 58px; font-size: 1.25rem; border-radius: 15px; }
.logo-tile.lg { width: 92px; height: 92px; font-size: 2rem; border-radius: 24px; box-shadow: var(--sh-md); }

.int-cat { margin-bottom: 56px; }
.int-cat:last-child { margin-bottom: 0; }
.int-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.int-cat-head h3 { margin: 0; font-size: 1.35rem; }
.int-cat-head .count { font-size: .8rem; font-weight: 800; color: var(--c-purple-d); background: rgba(123,92,255,.1); padding: 4px 12px; border-radius: 999px; }
.int-cat-head .rule { flex: 1; height: 1px; background: var(--c-line); }

.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.int-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.int-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }
.int-card .meta { min-width: 0; }
.int-card .meta h4 { margin: 0 0 4px; font-size: 1.08rem; display: flex; align-items: center; gap: 6px; }
.int-card .meta .cat-chip { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); }
.int-card .meta p { margin: 8px 0 0; font-size: .92rem; }

/* connect steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 26px 24px; position: relative; }
.step .n {
  width: 42px; height: 42px; border-radius: 50%; background: var(--g-brand); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(123,92,255,.35);
}
.step h4 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; font-size: .95rem; }

/* badge row in hero */
.int-hero-badge { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 24px; }
.int-hero-badge .plus { font-size: 1.6rem; color: var(--c-muted); font-weight: 800; }

@media (max-width: 980px) {
  .int-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .int-grid, .steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Personalisation (tailored greeting from URL params)
   ========================================================================== */
.pz-bar { position: relative; z-index: 90; background: var(--g-brand); color: #fff; }
.pz-bar .pz-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 46px; text-align: center; font-weight: 600; font-size: .95rem;
  max-width: var(--maxw); margin: 0 auto;
}
.pz-bar b { font-weight: 800; }
.pz-bar a.pz-cta { color: #fff; text-decoration: underline; font-weight: 800; white-space: nowrap; }
.pz-bar a.pz-cta:hover { opacity: .85; }
.pz-bar .pz-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.18); font-size: .95rem; line-height: 1;
}
.pz-bar .pz-close:hover { background: rgba(255,255,255,.34); }

/* hero personalised greeting — hidden until we know the visitor */
.pz-greeting { display: none; align-items: center; gap: 8px; font-weight: 800; color: var(--c-purple-d); font-size: 1.1rem; margin-bottom: 12px; }
.pz-greeting.pz-on { display: inline-flex; }

@media (max-width: 600px) {
  .pz-bar .pz-inner { font-size: .85rem; padding: 10px 42px; gap: 8px; }
}

/* ==========================================================================
   Cookie consent (lightweight)
   ========================================================================== */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 800px; margin: 0 auto;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 20px;
  transform: translateY(160%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.cookie-bar.show { transform: none; opacity: 1; }
.cookie-bar .cookie-text { margin: 0; flex: 1 1 300px; font-size: .92rem; font-weight: 500; color: var(--c-ink-2); }
.cookie-bar .cookie-text a { color: var(--c-purple-d); font-weight: 700; text-decoration: underline; }
.cookie-bar .cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-bar .cookie-btn { padding: 11px 22px; font-size: .95rem; }
@media (max-width: 560px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .cookie-bar .cookie-actions { width: 100%; }
  .cookie-bar .cookie-btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Comparison table (competitor "alternative" pages)
   ========================================================================== */
.cmp-wrap { max-width: 880px; margin: 0 auto; overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--c-line); font-size: .98rem; }
.cmp thead th { background: var(--c-bg-soft); font-weight: 800; font-size: .95rem; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; width: 22%; }
.cmp .crmit-col { background: rgba(123,92,255,.06); font-weight: 700; }
.cmp thead .crmit-col { background: rgba(123,92,255,.12); color: var(--c-purple-d); }
.cmp .yes { color: #0E9B8C; font-weight: 900; }
.cmp .no { color: #C6C1D6; font-weight: 900; }
.cmp .muted { color: var(--c-muted); font-weight: 600; font-size: .9rem; }
@media (max-width: 600px) { .cmp th, .cmp td { padding: 12px 10px; font-size: .82rem; } }

/* ==========================================================================
   Legal / policy pages (prose)
   ========================================================================== */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { color: var(--c-muted); font-weight: 600; font-size: .95rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.legal p { color: var(--c-ink-2); }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; display: grid; gap: 7px; }
.legal li { color: var(--c-ink-2); }
.legal a { color: var(--c-purple-d); font-weight: 600; text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; }
.legal th, .legal td { text-align: left; padding: 11px 13px; border: 1px solid var(--c-line); font-size: .92rem; vertical-align: top; }
.legal th { background: var(--c-bg-soft); font-weight: 800; }
.legal .note { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 16px 18px; font-size: .9rem; color: var(--c-muted); }