/* Ln2CRM Marketing Site (Light Theme)
   - All comments and copy in English
   - Accent unified site-wide: #6651f6 (rgb via --accent-rgb)
*/

:root{
  --bg: #f6f5ff;
  --bg-elevated: #ffffff;
  --text: #0b1020;
  --muted: #5b6476;
  --accent: #6651f6;
  --accent-rgb: 102, 81, 246;
  --border: rgba(var(--accent-rgb), 0.18);
  --accent-soft: rgba(var(--accent-rgb), 0.16);
  --blue-soft: rgba(66, 133, 244, 0.12);
  --shadow: 0 18px 60px rgba(13, 18, 40, 0.10);
  --shadow-soft: 0 10px 30px rgba(13, 18, 40, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* Base */
*{ box-sizing:border-box; }
html,body{ height:100%; }

/* Utility */
.hidden{ display:none !important; }

body{
  margin:0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--accent-rgb),0.14) 0%, rgba(246,245,255,1) 34%),
    radial-gradient(circle at 80% 14%, rgba(66,133,244,0.10) 0%, rgba(246,245,255,1) 46%),
    var(--bg);
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

.container{
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246,245,255,0.72);
  border-bottom: 1px solid rgba(var(--accent-rgb),0.16);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
}
.brand img{
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav{
  display:flex;
  gap: 18px;
  align-items:center;
  color: rgba(11,16,32,0.86);
  font-weight: 600;
  font-size: 14px;
}
.nav a{ opacity: 0.86; }
.nav a:hover{ opacity: 1; }

/* Header dropdown (Product) */
.dd{ position: relative; }

.dd-btn{
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  color: rgba(11,16,32,0.86);
  cursor: pointer;
  opacity: 0.86;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dd-btn:hover{
  opacity: 1;
  background: rgba(var(--accent-rgb),0.08);
}
.dd-caret{ font-size: 12px; opacity: 0.8; }

.dd-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(var(--accent-rgb),0.18);
  box-shadow: 0 18px 50px rgba(13,18,40,0.12);
  display: none;
}
.dd-menu a{
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  color: rgba(11,16,32,0.88);
  opacity: 1;
}
.dd-menu a:hover{ background: rgba(var(--accent-rgb),0.10); }
.dd.is-open .dd-menu{ display: block; }

.header-actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), filter .16s var(--ease-out), background-color .16s var(--ease-out);
}
.btn:active{ transform: scale(0.97); }

.btn-primary{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 35px rgba(var(--accent-rgb),0.22);
}
.btn-primary:hover{
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-secondary{
  background: rgba(255,255,255,0.72);
  border-color: rgba(var(--accent-rgb),0.30);
  color: rgba(41, 36, 84, 0.92);
  box-shadow: 0 10px 26px rgba(13,18,40,0.06);
}
.btn-secondary:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb),0.44);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb),0.10);
  border: 1px solid rgba(var(--accent-rgb),0.18);
  color: rgba(41,36,84,0.9);
}

/* Sections */
.section{ padding: 72px 0; }
.section-tight{ padding: 54px 0; }

.card{
  background: var(--bg-elevated);
  border: 1px solid rgba(var(--accent-rgb),0.16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* Typography */
.h1{
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
.h2{
  font-size: clamp(26px, 3.0vw, 36px);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}
.p{
  color: rgba(91,100,118,1);
  font-size: 16px;
  line-height: 1.55;
}

/* Hero */
.hero{ padding: 70px 0 38px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 26px;
  align-items: center;
}

.hero-left .p{ margin-top: 16px; max-width: 52ch; }

.hero-ctas{
  display:flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-micro{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: rgba(91,100,118,1);
  font-size: 13px;
}
.hero-micro span{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(var(--accent-rgb),0.12);
}
.hero-micro .dot{
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(var(--accent-rgb),0.8);
}

.media-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--accent-rgb),0.14);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow);
  padding: 14px;
}
.media-card img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  display:block;
}
.media-mini{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.media-mini img{
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb),0.12);
}

/* ===== CRM logos block (title left, logos right) ===== */
.logos{
  padding: 26px 20px;
  text-align: left;
}

.logos-top{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.logos-title{
  font-weight: 650;
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
  margin-right: auto; /* pushes logos to the right */
}

.crm-logo-img{
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
}
.crm-logo-img.is-disabled{
  opacity: 0.45;
  filter: grayscale(1);
  cursor: not-allowed;
}

/* Per-logo size tweaks */
.crm-logo-pipedrive{ transform: scale(1.25); transform-origin: center; }
.crm-logo-zoho{ transform: scale(1.50); transform-origin: center; }

.logos-note{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(91,100,118,1);
}
.logos-note a{
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.logos-note a:hover{ text-decoration: underline; }

/* Value statement */
.value{ text-align:center; }
.section-value{
  padding: 140px 0 72px;
}
.value .p{ max-width: 75ch; margin: 14px auto 0; }
.value .h2{
  max-width: 34ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* Workflow blocks (Create / Manage / AI copilot) — animated demos */
.features-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 22px;
}

.cv-root {
  --bg: #fbfaf7;
  --bg-2: #f4f2ed;
  --ink: #0f0f10;
  --ink-2: #2a2a2e;
  --muted: #6b6a6f;
  --muted-2: #97969c;
  --line: rgba(15,15,16,.08);
  --line-2: rgba(15,15,16,.14);
  --accent: #6651f6;
  --accent-2: #5a45e6;
  --accent-soft: #efeafe;
  --accent-deep: #2c1f9b;
  --dark: #0e0d12;
  --on-dark: #f6f4ee;
  --on-dark-mute: rgba(246,244,238,.62);
  --linkedin: #0a66c2;
  --shadow-1: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px rgba(15,15,16,.06);
  --shadow-2: 0 24px 60px -20px rgba(15,15,16,.18), 0 6px 18px rgba(15,15,16,.06);
  /* font-family inherited from site */
  color: var(--ink); line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.cv-root *, .cv-root *::before, .cv-root *::after { box-sizing: border-box; }
.cv-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.cv-kicker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 500;
}
.cv-kicker.purple { color: var(--accent-deep); }
.cv-h2 {
  font-size: 40px; font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.04; margin: 0; text-wrap: balance;
}
.cv-stage {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 40px;
  box-shadow: var(--shadow-2);
  height: 100%;
}

/* Mini browser/sidebar mock shared across blocks */
.mb {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(15,15,16,.2), 0 4px 12px rgba(15,15,16,.05);
}
.mb-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #fdfcfa 0%, #f4f2ed 100%);
  border-bottom: 1px solid var(--line);
}
.mb-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.mb-url {
  flex: 1; height: 20px; padding: 0 10px; font-size: 10px; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  display: inline-flex; align-items: center; margin-left: 6px;
}
.li {
  background: #f3f2ee; padding: 10px;
  display: flex; flex-direction: column; gap: 0;
}
.li-cover {
  height: 48px; border-radius: 6px 6px 0 0; margin: -10px -10px 0;
  background: linear-gradient(135deg, #ffd166 0%, #ef476f 50%, #6651f6 100%);
  position: relative;
}
.li-card { background: #fff; border-radius: 6px; padding: 12px; margin-top: 8px; }
.li-name { font-weight: 600; font-size: 13px; }
.li-name b { color: var(--linkedin); }
.li-meta { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.li-row { display: flex; gap: 6px; margin-top: 8px; }
.li-btn { padding: 3px 10px; font-size: 10px; border-radius: 999px; background: #f4f2ed; color: var(--ink-2); }
.li-btn.primary { background: var(--linkedin); color: #fff; }
.li-tabs {
  display: flex; gap: 22px; margin-top: 14px;
  padding: 0 0 8px; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
}
.li-tabs span { padding-bottom: 6px; color: var(--muted); }
.li-tabs span.active {
  color: #0a5e3e; border-bottom: 2.5px solid #0a5e3e;
  margin-bottom: -10px; padding-bottom: 8px; font-weight: 600;
}
.li-h { font-size: 12px; font-weight: 700; margin: 14px 0 10px; letter-spacing: -0.01em; }
.li-overview {
  display: flex; flex-direction: column; gap: 10px;
}
.li-ov-row { display: flex; flex-direction: column; gap: 2px; }
.li-ov-k { font-size: 12px; font-weight: 600; color: var(--ink); }
.li-ov-v { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.cv-root .blur-text {
  filter: blur(4.5px);
  user-select: none;
  opacity: 0.85;
}
.li-line { height: 5px; background: #ece9e2; border-radius: 3px; margin-top: 5px; }
.li-line.s { width: 60%; }

.v1-add-company,
.v1-sb-cta {
  appearance: none; cursor: pointer; border: 0;
  height: 34px; border-radius: 8px;
  font-family: inherit; font-size: 12px; font-weight: 500;
  width: 100%;
  transition: background .15s, transform .12s, box-shadow .25s;
}
.v1-add-company {
  background: #6651f6; color: #fff;
  margin: 4px 0 6px;
}
.v1-add-company:hover { background: #5a45e6; }
.v1-add-company:active { transform: translateY(1px); }

.v1-sb-cta {
  background: #2cd368; color: #0a2418;
  font-weight: 600;
  margin: 6px 0 0;
}
.v1-sb-cta:hover { background: #25c25d; }
.v1-sb-cta.is-pulse {
  box-shadow: 0 0 0 0 rgba(44, 211, 104, .7);
  animation: cv-pulse-green 1.4s var(--ease-out) 2;
}
@keyframes cv-pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(44, 211, 104, .7); }
  70% { box-shadow: 0 0 0 12px rgba(44, 211, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 211, 104, 0); }
}

/* Sidebar (dark) */
.sb {
  background: var(--dark); color: var(--on-dark);
  padding: 12px; display: flex; flex-direction: column; gap: 10px;
}
.sb-tabs { display: flex; padding: 3px; gap: 2px; background: rgba(255,255,255,.05); border-radius: 7px; }
.sb-tabs span {
  flex: 1; text-align: center; font-size: 10px; padding: 5px;
  border-radius: 5px; color: rgba(255,255,255,.5); font-weight: 500;
}
.sb-tabs span.active { background: var(--accent); color: #fff; }

/* ─────── Variant 1 — Animated demo (Create + AI copilot wrap) ─────── */
.v1 .cv-stage {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px;
  align-items: center;
}
.v1-copy { display: flex; flex-direction: column; gap: 12px; }
.v1-bullets { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 4px; }
.v1-bullet {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; color: var(--muted); line-height: 1.45;
  transition: background .25s, color .25s;
  align-items: center;
}
.v1-bullet.is-on {
  background: var(--accent-soft); color: var(--ink);
}
.v1-bullet-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px;
  color: var(--muted-2); letter-spacing: .08em;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(15,15,16,.06);
}
.v1-bullet.is-on .v1-bullet-num {
  background: var(--accent); color: #fff;
}
.v1-progress {
  margin-top: 16px; height: 3px; border-radius: 2px;
  background: rgba(15,15,16,.06); overflow: hidden;
}
.v1-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), #8a78ff);
  /* GPU transform — avoids layout that width:% used to trigger every paint */
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s linear;
  will-change: transform;
}

.v1-mock { position: relative; }
.v1-mock-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 380px;
}
.v1-mock-grid:has(.ai-frame) { height: 100%; }
.v1-mock-grid > .li { border-right: 1px solid var(--line); }

.v1-sb-name { font-size: 14px; font-weight: 600; }
.v1-sb-fields { display: flex; flex-direction: column; gap: 6px; }
.v1-sb-field {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px; padding: 7px 9px;
  display: grid; grid-template-columns: 70px 1fr 14px;
  gap: 8px; align-items: center;
  font-size: 11px;
  transition: border-color .2s, background .2s;
}
.v1-sb-field.is-typing { border-color: var(--accent); background: rgba(102,81,246,.1); }
.v1-sb-field.is-done { border-color: rgba(44,211,166,.4); }
.v1-sb-field-k { color: rgba(255,255,255,.5); font-size: 10px; }
.v1-sb-field-v { color: #fff; font-weight: 500; min-height: 14px; word-break: break-all; }
.v1-sb-field-v .caret {
  display: inline-block; width: 1px; height: 11px; vertical-align: -2px;
  background: var(--accent); animation: cv-blink 1s step-end infinite;
  margin-left: 1px;
}
@keyframes cv-blink { 50% { opacity: 0; } }
.v1-sb-field-check {
  color: #2cd3a6; font-size: 12px;
  opacity: 0; transition: opacity .25s;
}
.v1-sb-field.is-done .v1-sb-field-check { opacity: 1; }

/* Manage — extends create/v1 tokens */
.li-person { padding: 10px; }
.li-person-card {
  background: #fff; border-radius: 6px; padding: 14px; margin-top: 8px;
  position: relative;
}
.li-person-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #6651f6, #b9aeff);
  color: #fff; font-weight: 600; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: -32px; left: 14px;
  border: 3px solid #fff;
}
.li-person-name { font-size: 14px; font-weight: 700; margin-top: 28px; }
.li-person-title { font-size: 12px; color: #2a2a2e; margin-top: 2px; }
.li-person-meta { font-size: 11px; color: #6b6a6f; margin-top: 4px; }

.mg-sb { gap: 10px !important; padding: 10px !important; }
.cv-stage:has(.mg-sb) { padding: 32px !important; }
.cv-stage:has(.mg-sb) .v1-mock-grid { grid-template-columns: 0.9fr 1fr !important; }

/* Reversed layout — frame on left, copy on right (Manage block) */
.cv-stage.is-reversed {
  grid-template-columns: 1.25fr 0.75fr !important;
}
.cv-stage.is-reversed .v1-copy { order: 2; }
.cv-stage.is-reversed .v1-mock { order: 1; }

/* ───────────── AI copilot ───────────── */
.ai-frame { display: flex; flex-direction: column; gap: 10px; padding: 14px !important; overflow: hidden; min-height: 0; height: 100%; }
.ai-tabs {
  display: flex; gap: 8px;
}
.ai-tabs span {
  flex: 1; text-align: center; padding: 10px 0;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px; font-weight: 500;
  color: #fff; cursor: pointer;
}
.ai-tabs span.active {
  border-color: #6651f6;
  background: rgba(102,81,246,.08);
}

.ai-card {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.ai-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px;
}
.ai-card-title {
  font-size: 14px; font-weight: 700; color: #fff;
  line-height: 1.3;
}
.ai-card-sub {
  font-size: 11.5px; color: rgba(255,255,255,.55);
  margin-top: 4px; line-height: 1.45;
}
.ai-head-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ai-lang {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(102,81,246,.6);
  color: #fff;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
}
.ai-collapse { color: rgba(255,255,255,.55); font-size: 13px; font-weight: 700; }

.ai-textarea {
  position: relative;
  min-height: 70px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  color: #fff;
  line-height: 1.5;
}
.ai-textarea.is-typing {
  border-color: #6651f6;
  background: rgba(102,81,246,.06);
}
/* Brief flash when content is *pasted* (one-shot, ~700ms) so users can see
   the post landed even though there's no typing animation. */
.ai-textarea.is-pasted {
  animation: ai-paste-flash 700ms ease-out;
}
@keyframes ai-paste-flash {
  0%   { background: rgba(102,81,246,.22); border-color: #6651f6; }
  100% { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
}
.ai-textarea .mg-placeholder {
  position: absolute; top: 10px; left: 12px;
  color: rgba(255,255,255,.35);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  white-space: pre-wrap;
  max-width: calc(100% - 24px);
}

.ai-tones {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ai-tone {
  flex: 1; min-width: calc(33.333% - 6px);
  text-align: center;
  padding: 9px 0;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.ai-tones--6 .ai-tone {
  min-width: calc(33.333% - 6px);
  flex: 1 1 calc(33.333% - 6px);
}
.ai-tone.is-active {
  background: #6651f6;
  border-color: #6651f6;
}

.ai-cta {
  appearance: none; border: 0;
  background: #6651f6;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
}
.ai-cta:hover { background: #5a45e6; }
.ai-cta.is-pulse {
  animation: ai-pulse 1.4s var(--ease-out) 2;
}
@keyframes ai-pulse {
  0% { box-shadow: 0 0 0 0 rgba(102,81,246,.7); }
  70% { box-shadow: 0 0 0 12px rgba(102,81,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(102,81,246,0); }
}

.ai-output-h {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; color: #fff;
  margin-top: 2px;
}
.ai-copy-btn {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 12px;
}
.ai-output {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  min-height: 48px;
}
.ai-output.is-filled {
  color: #fff;
  border-color: rgba(102,81,246,.4);
  background: rgba(102,81,246,.06);
}

/* Manage — note + task + history */
.mg-section {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 10px;
  display: flex; flex-direction: column; gap: 8px;
  transition: opacity .35s ease, transform .35s ease;
}
.mg-section-h {
  font-size: 12px; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.mg-help {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 9px; font-weight: 500;
}
.mg-chev { color: rgba(255,255,255,.45); font-size: 10px; }
.mg-chev.cyan { color: #2cd3a6; }

.mg-add { gap: 8px; }
.mg-add.is-done { border-color: rgba(102,81,246,.4); }
.mg-add-grid { display: flex; flex-direction: column; gap: 6px; }
.mg-row {
  display: grid; grid-template-columns: 50px 1fr; gap: 8px; align-items: start;
}
.mg-row-k {
  font-size: 10px; color: rgba(255,255,255,.55); padding-top: 7px;
}
.mg-textarea {
  position: relative;
  min-height: 56px; padding: 7px 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
  font-size: 11px; color: #fff; line-height: 1.4;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  word-break: break-word;
}
.mg-textarea.is-typing { border-color: #6651f6; background: rgba(102,81,246,.08); }
.mg-task { display: flex; flex-direction: column; gap: 4px; }
.mg-input {
  position: relative;
  height: 28px; padding: 0 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
  font-size: 11px; color: #fff;
  display: flex; align-items: center;
}
.mg-input.is-typing { border-color: #6651f6; background: rgba(102,81,246,.08); }
.mg-placeholder {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.35); pointer-events: none;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px;
}
.mg-textarea .mg-placeholder {
  top: 7px; transform: none;
}
.mg-date {
  height: 28px; padding: 0 8px; border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,.45);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.mg-date.is-picking {
  border-color: #6651f6;
  background: rgba(102,81,246,.1);
  animation: mg-flash 0.35s ease 1;
}
.mg-date.is-set {
  color: #fff;
  border-color: rgba(102,81,246,.3);
}
@keyframes mg-flash {
  0% { box-shadow: 0 0 0 0 rgba(102,81,246,.5); }
  50% { box-shadow: 0 0 0 4px rgba(102,81,246,.18); }
  100% { box-shadow: 0 0 0 0 rgba(102,81,246,0); }
}
.mg-date-icon { font-size: 11px; opacity: .55; }

.cv-root .caret {
  display: inline-block; width: 1px; height: 11px; vertical-align: -1px;
  background: #6651f6;
  animation: mg-blink 1s steps(2) infinite;
  margin-left: 1px;
}
@keyframes mg-blink { 50% { opacity: 0; } }

/* Tasks & History panel (Manage idle phase) */
.mg-history-panel {
  display: flex; flex-direction: column; gap: 10px;
  padding: 2px 0;
}
.mg-hp-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: #fff;
  padding: 4px 2px 6px;
}
.mg-hp-collapse { color: #2cd3a6; font-size: 14px; font-weight: 700; }

.mg-hp-card {
  background: rgba(255,255,255,.02);
  border: 1.5px solid rgba(102,81,246,.45);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .35s ease;
}
.mg-hp-card.is-spotlight {
  border-color: rgba(102,81,246,.7);
}
.mg-hp-card-h {
  font-size: 13px; font-weight: 700; color: #fff;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mg-hp-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: #fff;
  gap: 10px;
}
.mg-hp-row-k {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mg-hp-pill {
  padding: 4px 10px; border-radius: 999px;
  border: 1.5px solid rgba(239,71,111,.7);
  color: #ff8da4; font-size: 11px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  white-space: nowrap;
  letter-spacing: .02em;
}
.mg-hp-pill.is-today {
  border-color: rgba(44,211,166,.75);
  color: #5fe6bb;
  background: rgba(44,211,166,.08);
}
.mg-hp-note {
  display: flex; flex-direction: column; gap: 4px;
}
.mg-hp-date {
  font-size: 11px; color: rgba(255,255,255,.5);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .01em;
}
.mg-hp-note-body {
  font-size: 13px; color: #fff; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.mg-hp-email {
  display: flex; flex-direction: column; gap: 6px;
}
.mg-hp-email-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px;
}
.mg-hp-email-subj {
  font-size: 13px; font-weight: 700; color: #fff; line-height: 1.35;
  flex: 1; min-width: 0;
}
.mg-hp-email-toggle {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.mg-hp-email-body {
  font-size: 12px; color: rgba(255,255,255,.7);
  line-height: 1.5;
  text-indent: 1.5em;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Linked record (Manage active phase) */
.mg-linked-static {
  gap: 6px;
}
.mg-linked-static .mg-linked-card {
  padding: 8px 10px; gap: 2px;
}
.mg-linked-card {
  background: rgba(0,0,0,.3); border-radius: 6px; padding: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.mg-linked-row {
  display: flex; justify-content: space-between;
  font-size: 11px; padding: 2px 0;
}
.mg-linked-row span:first-child { color: rgba(255,255,255,.55); }
.mg-linked-row span:last-child { color: #fff; font-weight: 500; }

/* LinkedIn Messages mock (AI copilot frame) */
.li-messages {
  padding: 20px 18px;
  display: flex; flex-direction: column;
  height: 100%;
  background: #fff;
}
.li-msg-day {
  text-align: center;
  font-size: 11px; font-weight: 700;
  color: #6b6a6f;
  letter-spacing: .08em;
  padding: 14px 0 10px;
  position: relative;
}
.li-msg-day span {
  background: #fff;
  position: relative; z-index: 1;
  padding: 0 10px;
}
.li-msg-day::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(15,15,16,.1);
}
.li-msg-row {
  display: flex; gap: 12px;
  padding: 6px 0 12px;
}
.li-msg-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #6651f6, #b9aeff);
  color: #fff; font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.li-msg-body { flex: 1; min-width: 0; }
.li-msg-meta {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.li-msg-name { font-size: 14px; font-weight: 700; color: #0f0f10; }
.li-msg-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  background: #0a66c2; color: #fff;
  font-weight: 700;
  font-size: 9px;
  border-radius: 3px;
  letter-spacing: -.02em;
}
.li-msg-time { font-size: 12px; color: #6b6a6f; }
.li-msg-body p {
  font-size: 13px; line-height: 1.5;
  color: #0f0f10;
  margin: 0 0 8px;
}
.li-msg-body p:last-child { margin-bottom: 0; }
.li-msg-blur {
  filter: blur(3.5px);
  user-select: none;
  pointer-events: none;
  color: #4a4a52;
}

/* Responsive: stack copy + mock on narrow screens */
@media (max-width: 900px) {
  .v1 .cv-stage,
  .cv-stage.is-reversed {
    grid-template-columns: 1fr !important;
  }
  .cv-stage.is-reversed .v1-copy { order: 1; }
  .cv-stage.is-reversed .v1-mock { order: 2; }
  .cv-stage { padding: 24px !important; }
  .cv-h2 { font-size: 28px; }
  .v1-mock-grid { min-height: 0; grid-template-columns: 1fr !important; }
}


/* Calculator */
.calc{
  padding: 22px;
  border-radius: var(--radius-lg);
}
.calc-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.calc-left-top{
  display:flex;
  justify-content:flex-start;
  margin-bottom: 12px;
}
.slider-row{ margin-bottom: 14px; }
.slider-row label{
  display:flex;
  justify-content:space-between;
  font-weight: 800;
  font-size: 13px;
}
.slider-row .hint{
  color: rgba(91,100,118,1);
  font-size: 12px;
  margin-top: 6px;
}
input[type="range"]{ width:100%; accent-color: var(--accent); }

.calc-results{
  display:grid;
  gap: 12px;
  align-content: start;
}
.kpi{
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb),0.14);
  background: rgba(var(--accent-rgb),0.06);
}
.kpi .kpi-label{
  color: rgba(91,100,118,1);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.kpi .kpi-value{
  margin-top: 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kpi .kpi-sub{
  margin-top: 6px;
  color: rgba(91,100,118,1);
  font-size: 13px;
}

/* Pricing */
.toggle{
  display:inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb),0.18);
  background: rgba(255,255,255,0.78);
}
.toggle button{
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: rgba(91,100,118,1);
}
.toggle button.active{
  background: rgba(var(--accent-rgb),0.14);
  color: rgba(41,36,84,0.92);
}

/* Pricing header (centered like LinkMatch) */
.pricing-head{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.pricing-title{
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}
.pricing-sub{
  max-width: 72ch;
  margin: 0 auto;
  text-wrap: balance;
}
.pricing-switches{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.toggle-period{
  padding: 8px;
  gap: 10px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(13,18,40,0.06);
}
.toggle-period button{
  padding: 12px 22px;
  font-size: 15px;
}
.toggle-currency{ padding: 6px; gap: 8px; }
.toggle-currency button{ padding: 10px 16px; font-size: 14px; }

.save-pill{
  margin-left: 8px;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: rgba(41,36,84,0.95);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  vertical-align: middle;
}

.plans{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.plan{
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(var(--accent-rgb),0.16);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-soft);
  display:flex;
  flex-direction: column;
}
.plan.featured{
  border-color: rgba(var(--accent-rgb),0.36);
  box-shadow: 0 18px 60px rgba(var(--accent-rgb),0.12);
}
.plan h4{ margin: 0; font-size: 16px; font-weight: 800; }
.price{
  margin-top: 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price small{
  font-size: 14px;
  font-weight: 800;
  color: rgba(91,100,118,1);
}
.price-contact{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.plan .desc{
  margin-top: 8px;
  color: rgba(91,100,118,1);
  font-size: 13px;
  line-height: 1.5;
}
.limits{
  margin-top: 14px;
  padding: 0;
  list-style:none;
}
.limits li{
  padding: 8px 0;
  border-top: 1px solid rgba(var(--accent-rgb),0.10);
  font-size: 13px;
}
.limits b{ color: rgba(41,36,84,0.92); }
.plan .cta{ margin-top: 14px; }
.plan .cta .btn{ width: 100%; }

/* Pricing: make all plan CTA buttons purple */
.plans .plan .cta .btn{
  background: var(--accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--accent) !important;
  box-shadow: 0 14px 35px rgba(var(--accent-rgb),0.22) !important;
}
.plans .plan .cta .btn:hover{
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.plans .plan .cta .btn:active{ transform: scale(0.97); }

.request-box{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb),0.14);
  background: rgba(66,133,244,0.06);
  color: rgba(11,16,32,0.86);
  font-size: 13px;
}
.request-box b{ color: rgba(41,36,84,0.92); }

/* CTA block */
.cta-block{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--accent-rgb),0.16);
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.18), rgba(66,133,244,0.12));
  box-shadow: var(--shadow);
  padding: 26px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}
.cta-block h3{
  margin:0;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.cta-block .p{ margin: 10px 0 0; }
.cta-points{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cta-points span{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(91,100,118,1);
}

/* ===== Testimonials (Variant B: featured + mosaic, auto-rotating) ===== */

.tb-sec {
  --tb-accent: #6651f6;
  --tb-accent-2: #5a45e6;
  --tb-accent-deep: #2c1f9b;
  --tb-bg: #efeafe;
  --tb-bg-2: #e8e2fb;
  --tb-ink: #0f0f10;
  --tb-ink-2: #2a2a2e;
  --tb-muted: #6b6a6f;
  --tb-on-purple: #ffffff;
  --tb-on-purple-mute: rgba(255, 255, 255, 0.72);

  position: relative;
  background: linear-gradient(180deg, var(--tb-bg) 0%, var(--tb-bg-2) 100%);
  padding: 56px 48px;
  border-radius: 24px;
  /* font-family inherited from site */
  color: var(--tb-ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  margin-top: 18px;
}

.tb-head { margin-bottom: 32px; }
.tb-kicker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tb-accent-deep); font-weight: 500;
}
.tb-h2 {
  font-size: 44px; font-weight: 600; letter-spacing: -0.03em;
  margin: 10px 0 0; line-height: 1.02;
}

.tb-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px;
  align-items: stretch;
}

/* Featured (purple) card */
.tb-feature {
  position: relative; overflow: hidden;
  margin: 0; padding: 36px;
  background: linear-gradient(135deg, #6651f6 0%, #5a45e6 50%, #4838c4 100%);
  border-radius: 22px;
  color: var(--tb-on-purple);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 60px -20px rgba(102, 81, 246, 0.55);
}
/* rotation animation is driven by inline styles from main.js */
.tb-feature { will-change: transform, opacity; }

.tb-glow {
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.tb-stars {
  color: #ffd166; font-size: 18px; letter-spacing: 2px;
  position: relative;
}
.tb-feature-q {
  position: relative; margin: 0;
  font-size: 22px; line-height: 1.4; letter-spacing: -0.015em;
  font-weight: 500;
}
.tb-feature-meta {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px;
  align-items: center; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tb-feature-meta .tb-name { color: #fff; font-size: 15px; font-weight: 600; }
.tb-feature-meta .tb-role { color: var(--tb-on-purple-mute); font-size: 12.5px; margin-top: 2px; }

.tb-metric {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap;
}
.tb-metric[hidden] { display: none; }

/* Mosaic tiles (white) */
.tb-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.tb-tile {
  margin: 0; padding: 20px;
  background: #fff;
  border: 1px solid rgba(102, 81, 246, 0.14);
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 1px 2px rgba(15, 15, 16, 0.03), 0 8px 20px -12px rgba(102, 81, 246, 0.18);
  will-change: transform, opacity;
}
.tb-tile-q {
  margin: 0; font-size: 13.5px; line-height: 1.5;
  color: var(--tb-ink-2); flex: 1;
}
.tb-tile-meta { display: flex; gap: 10px; align-items: center; }
.tb-tile-meta .tb-name { font-size: 12.5px; font-weight: 600; }
.tb-tile-meta .tb-role { font-size: 11px; color: var(--tb-muted); margin-top: 1px; }

/* Avatar (shared) */
.tb-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tb-accent), #8a78ff);
  color: #fff; font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tb-av-big { width: 48px; height: 48px; font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .tb-sec { padding: 36px 24px; }
  .tb-h2 { font-size: 32px; }
  .tb-grid { grid-template-columns: 1fr; }
  .tb-mosaic { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .tb-mosaic { grid-template-columns: 1fr; }
  .tb-feature { padding: 24px; }
  .tb-feature-q { font-size: 18px; }
}



/* Blog preview */
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.post-card{
  border-radius: 22px;
  border: 1px solid rgba(var(--accent-rgb),0.14);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-thumb{ width: 100%; background: rgba(66,133,244,0.10); }
.post-thumb img{ width: 100%; height: auto; display:block; }
.post-body{ padding: 18px; }
.post-card h4{ margin:0; font-size: 16px; letter-spacing: -0.01em; }
.post-card p{ margin: 10px 0 0; color: rgba(91,100,118,1); line-height: 1.55; }
.read-more{
  margin-top: 14px;
  color: rgba(var(--accent-rgb),0.95);
  font-weight: 700;
}
.post-card:hover .read-more{ text-decoration: underline; }

/* Modal system */
.modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 9, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

/* FAQ */
.faq{ margin-top: 18px; }
.faq details{
  border: 1px solid rgba(var(--accent-rgb),0.14);
  background: rgba(255,255,255,0.86);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.faq details + details{ margin-top: 10px; }
.faq summary{ cursor: pointer; font-weight: 700; }
.faq .ans{
  margin-top: 10px;
  color: rgba(91,100,118,1);
  line-height: 1.6;
}

/* Footer */
.footer{
  padding: 34px 0;
  border-top: 1px solid rgba(var(--accent-rgb),0.14);
  background: rgba(246,245,255,0.65);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
.footer small{ color: rgba(91,100,118,1); }
.footer a{ color: rgba(11,16,32,0.82); opacity: 0.9; }
.footer a:hover{ opacity: 1; }
.footer .col h5{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(41,36,84,0.88);
}
.footer .links{
  display:grid;
  gap: 8px;
  font-size: 14px;
}

/* Blog article layout */
.article{
  padding: 34px;
  border-radius: var(--radius-lg);
}
.article h1{ margin: 0; font-size: 40px; letter-spacing: -0.02em; }
.article h2{ margin-top: 28px; font-size: 22px; }
.article p{ color: rgba(91,100,118,1); line-height: 1.75; font-size: 16px; }
.article ul{ color: rgba(11,16,32,0.88); line-height: 1.7; }
.article .meta{
  margin-top: 10px;
  color: rgba(91,100,118,1);
  font-weight: 800;
  font-size: 13px;
}
.article .callout{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb),0.14);
  background: rgba(var(--accent-rgb),0.06);
  color: rgba(11,16,32,0.90);
}

/* Inline logos inside headings */
.inline-logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-block;
  vertical-align: middle;
}
.inline-logo-chrome{ vertical-align: -0.20em; }
.inline-logo-ln2crm{ vertical-align: -0.22em; }

/* =========================================================
   Responsive (grouped at the end)
   ========================================================= */

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .feature{ grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-text{ order: 1; }
  .feature:nth-child(even) .feature-media{ order: 2; }
  .calc-grid{ grid-template-columns: 1fr; }
  .plans{ grid-template-columns: repeat(2, 1fr); }
  .testimonials{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .cta-block{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px){
  .crm-logo-img{ height: 54px; }
  .logos-title{ white-space: normal; }
  .logos-top{ align-items: flex-start; }
}

@media (max-width: 520px){
  .hero{ padding-top: 54px; }
  .plans{ grid-template-columns: 1fr; }
  .article{ padding: 20px; }
  .article h1{ font-size: 30px; }
}



/* =========================
   Header account menu
   ========================= */
.dd-account{ margin-left: 10px; }
.dd-btn-account{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb),0.18);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-weight: 650;
}
.dd-account.is-open .dd-btn-account{
  box-shadow: 0 10px 26px rgba(var(--accent-rgb),0.18);
}


/* =========================
   Auth pages (login/register)
   Scoped to .auth-wrap/.auth-card to avoid affecting the landing page.
   ========================= */

.auth-wrap{
  min-height: calc(100vh - 84px);
  padding: 42px 18px 60px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.auth-card{
  width: min(520px, 100%);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  box-shadow: var(--shadow-soft);
  border-radius: 26px;
  padding: 28px 26px;
  backdrop-filter: blur(10px);
}

.auth-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  justify-content:center;
  margin-bottom: 6px;
}
.auth-brand img{ width: 46px; height: 46px; }

.auth-slogan{
  text-align:center;
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.auth-msg{
  display:none;
  margin: 0 0 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text);
}

.auth-field{ margin: 14px 0; }
.auth-field label{
  display:block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.auth-field input,
.auth-field .auth-select {
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(255,255,255,0.70);
  outline: none;
  font-size: 16px;
  box-sizing: border-box;
}
.auth-field input:focus,
.auth-field .auth-select:focus {
  border-color: rgba(var(--accent-rgb), 0.65);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
}

.auth-actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
}
.auth-actions .btn{ flex: 1; }

.auth-divider{
  margin: 18px 0 12px;
  display:flex;
  align-items:center;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  justify-content:center;
}
.auth-divider:before,
.auth-divider:after{
  content:"";
  height: 1px;
  flex: 1;
  background: rgba(var(--accent-rgb), 0.18);
}

.btn-oauth{
  width:100%;
  justify-content:center;
  gap: 10px;
  margin-top: 12px;
}
.oauth-icon{
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.oauth-icon svg{ width: 22px; height: 22px; display:block; }

.auth-links{
  margin-top: 16px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.auth-links a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .85;
}
.auth-links a:hover{ opacity: 1; }

@media (max-width: 520px){
  .auth-wrap{ padding: 28px 14px 44px; }
  .auth-card{ padding: 22px 18px; border-radius: 22px; }
  .auth-actions{ flex-direction: column; }
}


/* =========================================================
   Motion: reduced-motion safety net
   CSS animations/transitions collapse to near-instant.
   JS-driven motion (testimonial rotation, workflow loops) is
   gated separately in main.js / workflow-blocks.js.
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Mobile navigation (hamburger panel)
   The toggle button is injected by main.js; styling lives here.
   ========================================================= */
.nav-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .16s var(--ease-out);
}
.nav-toggle:hover{ background: var(--accent-soft); }
.nav-toggle:active{ transform: scale(0.94); }
.nav-toggle svg{ width: 20px; height: 20px; display: block; }

@media (max-width: 760px){
  .nav-toggle{ display: inline-flex; }
  /* Hero already carries the primary CTA; drop the duplicate in the bar on mobile */
  .header-actions .btn-primary{ display: none; }
  .nav{
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
  }
  .nav.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
  .nav > a,
  .nav .dd-btn{ padding: 11px 12px; border-radius: 12px; width: 100%; text-align: left; }
  .nav .dd{ width: 100%; }
  /* Product submenu shows inline inside the panel (no nested toggle on mobile) */
  .nav .dd-menu{
    display: block;
    position: static;
    min-width: 0;
    padding: 2px 0 6px 10px;
    border: none;
    box-shadow: none;
    background: transparent;
  }
}

