/* =========================================================
   Aspiresly Premium Light-Theme SaaS Landing
   Palette: warm cream + cobalt ink + electric violet + amber
   ========================================================= */

:root {
  --bg: oklch(0.985 0.006 80);
  --bg-2: oklch(0.97 0.008 78);
  --surface: #ffffff;
  --ink: oklch(0.17 0.03 270);
  --ink-2: oklch(0.32 0.025 270);
  --ink-3: oklch(0.5 0.02 270);
  --ink-4: oklch(0.68 0.015 270);
  --line: oklch(0.92 0.012 80);
  --line-2: oklch(0.88 0.014 80);
  --accent: oklch(0.55 0.22 285);          /* electric violet */
  --accent-2: oklch(0.62 0.19 295);
  --accent-soft: oklch(0.88 0.08 285);
  --amber: oklch(0.78 0.16 65);            /* warm glow */
  --amber-deep: oklch(0.68 0.18 55);
  --sky: oklch(0.78 0.12 230);
  --mint: oklch(0.82 0.1 165);
  --pink: oklch(0.78 0.13 25);
  --shadow-sm: 0 1px 2px rgba(20, 18, 40, 0.04), 0 1px 1px rgba(20, 18, 40, 0.03);
  --shadow-md: 0 8px 24px -8px rgba(20, 18, 40, 0.08), 0 2px 6px rgba(20, 18, 40, 0.04);
  --shadow-lg: 0 30px 60px -20px rgba(40, 25, 100, 0.18), 0 10px 24px -10px rgba(20, 18, 40, 0.08);
  --shadow-glow: 0 30px 80px -20px oklch(0.55 0.22 285 / 0.45), 0 10px 30px -10px oklch(0.78 0.16 65 / 0.35);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.serif { font-family: 'Instrument Serif', 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- Layout ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

section { position: relative; }

/* ---- Background aurora (the page-level glow) ---- */
.aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora::before, .aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: multiply;
}
.aurora::before {
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, oklch(0.78 0.16 65 / 0.55), transparent 70%);
  top: -260px; right: -180px;
  animation: drift1 22s ease-in-out infinite alternate;
}
.aurora::after {
  width: 760px; height: 760px;
  background: radial-gradient(closest-side, oklch(0.62 0.22 285 / 0.45), transparent 70%);
  top: 80px; left: -200px;
  animation: drift2 26s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.08); }
}
@keyframes drift2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px, -40px) scale(1.05); }
}

/* Subtle grid overlay */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(to right, oklch(0.5 0.02 270 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.5 0.02 270 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, #000 0%, transparent 85%);
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: oklch(0.985 0.006 80 / 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); background: oklch(0.985 0.006 80 / 0.85); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  position: relative;
}
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: conic-gradient(from 200deg, var(--accent), var(--amber), var(--accent));
  position: relative;
  box-shadow: 0 6px 20px -6px oklch(0.55 0.22 285 / 0.6);
}
.logo-mark::after {
  content: '';
  position: absolute; inset: 5px;
  background: var(--bg);
  border-radius: 5px;
}
.logo-mark::before {
  content: '';
  position: absolute; inset: 10px;
  background: var(--ink);
  border-radius: 2px;
  z-index: 1;
}

.nav-links {
  display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.15) inset, 0 8px 24px -10px oklch(0.55 0.22 285 / 0.5);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, var(--accent), var(--amber), var(--accent));
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity .25s;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:hover::after { opacity: 0.6; }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: oklch(1 0 0 / 0.6);
}
.btn-ghost:hover { background: #fff; border-color: oklch(0.7 0.02 270 / 0.4); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }

/* ---- Pill / chip ---- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: oklch(1 0 0 / 0.7);
  font-size: 12.5px; color: var(--ink-2);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.pill-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--amber), var(--accent));
  box-shadow: 0 0 0 3px oklch(0.78 0.16 65 / 0.18);
}

/* ---- HERO ---- */
.hero {
  padding: 80px 0 60px;
  position: relative;
  isolation: isolate;
}
.hero .container { position: relative; z-index: 3; }
.hero-eyebrow {
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: center;
  margin: 0 auto 24px;
  max-width: 14ch;
  font-weight: 600;
}
.hero h1 .serif {
  display: inline-block;
  background: linear-gradient(110deg, var(--accent) 0%, var(--amber-deep) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-right: 0.06em;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-3);
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 22px;
}
.hero-meta {
  display: flex; justify-content: center; gap: 28px;
  font-size: 13px; color: var(--ink-3);
  flex-wrap: wrap;
}
.hero-meta-item { display: inline-flex; gap: 8px; align-items: center; }
.check {
  width: 16px; height: 16px; border-radius: 50%;
  background: oklch(0.82 0.1 165);
  display: inline-grid; place-items: center;
  color: oklch(0.3 0.08 165);
}

/* ---- 3D Stage (hero product mock) ---- */
.stage {
  margin-top: 70px;
  perspective: 2400px;
  position: relative;
}
.stage-platform {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 220px;
  background: radial-gradient(ellipse, oklch(0.55 0.22 285 / 0.18), transparent 65%);
  filter: blur(40px);
  z-index: -1;
}
.stage-deck {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .12s linear;
  will-change: transform;
}
.mock {
  position: absolute;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  backface-visibility: hidden;
}
.mock-main {
  position: relative;
  margin: 0 auto;
  width: min(1080px, 92%);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transform: translateZ(0);
}
.mock-main::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.6), transparent 30%);
  pointer-events: none;
}

.mock-side {
  width: 280px;
  height: auto;
}
.mock-side.left  { left: -2%;  top: 60px;  transform: rotateY(18deg) rotateX(6deg) translateZ(-60px); }
.mock-side.right { right: -2%; top: 30px;  transform: rotateY(-18deg) rotateX(6deg) translateZ(-60px); }

@media (max-width: 960px) { .mock-side { display: none; } }

/* ---- Mock CRM inner content ---- */
.crm-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.crm-dot { width: 10px; height: 10px; border-radius: 50%; }
.crm-dot.r { background: #ff6b5e; }
.crm-dot.y { background: #ffc34d; }
.crm-dot.g { background: #5edc7d; }
.crm-tab {
  margin-left: 14px;
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--ink-3);
  padding: 4px 10px; border-radius: 6px;
  background: oklch(1 0 0 / 0.6);
  border: 1px solid var(--line);
}
.crm-body {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  min-height: 540px;
}
.crm-side {
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  background: linear-gradient(180deg, var(--bg-2), transparent 60%);
}
.crm-section-title {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-4); margin: 16px 0 8px; font-weight: 600;
}
.crm-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: var(--ink-2);
  margin-bottom: 2px;
}
.crm-nav-item.active {
  background: var(--ink);
  color: var(--bg);
}
.crm-nav-item .ic {
  width: 16px; height: 16px; opacity: 0.8;
}
.crm-main {
  padding: 20px 22px;
}
.crm-h {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px;
}
.crm-h h3 { margin: 0; font-size: 18px; letter-spacing: -0.015em; font-weight: 600; }
.crm-h p { margin: 2px 0 0; font-size: 12px; color: var(--ink-4); }

.kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; background: #fff;
}
.kpi-label { font-size: 11px; color: var(--ink-4); }
.kpi-value { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.kpi-delta { font-size: 11px; color: oklch(0.55 0.13 165); margin-top: 2px; display: inline-flex; gap: 4px; align-items: center; }

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pipe-col {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.pipe-h { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-bottom: 8px; }
.pipe-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; margin-bottom: 6px;
  font-size: 11.5px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: var(--shadow-sm);
}
.pipe-card .nm { font-weight: 600; color: var(--ink); }
.pipe-card .co { color: var(--ink-4); font-size: 10.5px; }
.pipe-card .val { font-size: 11px; color: var(--accent); font-weight: 600; }
.pipe-card.win {
  border-color: oklch(0.78 0.16 65 / 0.5);
  box-shadow: 0 6px 18px -8px oklch(0.78 0.16 65 / 0.5);
  position: relative;
}
.pipe-card.win::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber), var(--accent));
  z-index: -1;
  opacity: 0.4;
  filter: blur(4px);
}

/* Right column (AI assistant) */
.crm-aside {
  border-left: 1px solid var(--line);
  padding: 16px 14px;
  background: linear-gradient(180deg, transparent, oklch(0.78 0.16 65 / 0.03));
  display: flex; flex-direction: column; gap: 10px;
}
.ai-card {
  border-radius: 12px;
  padding: 12px;
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.7), oklch(1 0 0 / 0.4)),
    radial-gradient(120% 80% at 0% 0%, oklch(0.78 0.16 65 / 0.18), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, oklch(0.55 0.22 285 / 0.18), transparent 60%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ai-head { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-2); margin-bottom: 6px; }
.ai-orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent), var(--amber), var(--accent));
  box-shadow: 0 0 12px oklch(0.55 0.22 285 / 0.6);
  animation: orb 4s ease-in-out infinite;
}
@keyframes orb {
  0%,100% { box-shadow: 0 0 10px oklch(0.55 0.22 285 / 0.6); }
  50% { box-shadow: 0 0 22px oklch(0.78 0.16 65 / 0.65); }
}
.ai-msg { font-size: 12px; color: var(--ink); line-height: 1.5; }
.ai-msg b { color: var(--accent); font-weight: 700; }
.ai-actions { display: flex; gap: 6px; margin-top: 8px; }
.ai-actions span {
  font-size: 10.5px; padding: 5px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}

/* whatsapp mini */
.wa {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.wa-h { padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; font-size: 12px; }
.wa-h .av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.wa-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-2); }
.bubble {
  font-size: 11.5px; line-height: 1.45;
  padding: 7px 10px; border-radius: 10px;
  max-width: 85%;
}
.bubble.them { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 3px; }
.bubble.me { background: oklch(0.85 0.08 165); align-self: flex-end; border-bottom-right-radius: 3px; color: oklch(0.25 0.05 165);}
.bubble.ai { background: var(--ink); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 3px; position: relative; }
.bubble.ai::before { content: '✦ AI'; position: absolute; top: -8px; right: 6px; font-size: 8.5px; padding: 2px 6px; background: var(--amber); color: var(--ink); border-radius: 4px; font-weight: 700; }

/* Side mocks: minimal cards */
.side-card-1, .side-card-2 {
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}

/* ---- Logo strip ---- */
.logos {
  padding: 60px 0 30px;
  text-align: center;
}
.logos-label {
  font-size: 12px; color: var(--ink-4); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.logos-row {
  display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
  opacity: 0.6;
}
.logo-item { font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); font-size: 18px; display: inline-flex; align-items: center; gap: 8px;}
.logo-item .glyph { width: 18px; height: 18px; background: var(--ink-2); border-radius: 4px; }

/* ---- Section heading ---- */
.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 56px;
}
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  font-weight: 600; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 600;
}
.section-head h2 .serif { color: var(--accent); }
.section-head p { font-size: 17px; color: var(--ink-3); margin: 0; }

section.padded { padding: 100px 0; }

/* ---- Features grid ---- */
.feat-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feat-tag {
  font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
.feat h3 {
  margin: 12px 0 6px; font-size: 22px; letter-spacing: -0.02em; font-weight: 600;
  line-height: 1.15;
}
.feat p { margin: 0; font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.feat.big { grid-row: span 2; padding: 32px; }
.feat.full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
}
.feat.full .feat-art { margin-top: 0; height: 220px; }
.feat.full h3 { font-size: 28px; max-width: 16ch; }
@media (max-width: 820px) { .feat.full { grid-template-columns: 1fr; } }
.feat-art {
  margin-top: 22px;
  position: relative;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.feat.big .feat-art { height: 360px; }

/* feature-specific art */
.art-pipeline {
  background:
    radial-gradient(closest-side at 80% 20%, oklch(0.78 0.16 65 / 0.25), transparent 60%),
    radial-gradient(closest-side at 20% 80%, oklch(0.55 0.22 285 / 0.2), transparent 60%),
    var(--bg-2);
  padding: 16px;
}
.art-pipeline .lane {
  display: grid; grid-template-columns: 60px 1fr; gap: 8px; align-items: center; margin-bottom: 8px;
}
.art-pipeline .lane-name { font-size: 11px; color: var(--ink-3); }
.art-pipeline .bar {
  height: 22px; border-radius: 6px; position: relative; overflow: hidden;
  background: oklch(1 0 0 / 0.6); border: 1px solid var(--line);
}
.art-pipeline .bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  width: var(--w, 50%);
  border-radius: 6px;
  animation: barfill 2.6s ease-in-out infinite alternate;
}
@keyframes barfill { 0% { transform: translateX(-6%);} 100% { transform: translateX(0); } }

.art-chat {
  padding: 16px; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(180deg, var(--bg-2), #fff);
}
.art-chat .bubble { font-size: 12.5px; padding: 9px 12px; }

.art-orb {
  display: grid; place-items: center;
}
.art-orb .orb {
  width: 160px; height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0%, transparent 30%),
    conic-gradient(from 200deg, var(--accent), var(--amber), var(--pink), var(--accent));
  box-shadow:
    0 0 60px oklch(0.55 0.22 285 / 0.45),
    inset -20px -30px 80px oklch(0.55 0.22 285 / 0.6),
    inset 20px 30px 40px oklch(0.95 0 0 / 0.6);
  animation: orbspin 16s linear infinite;
  position: relative;
}
.art-orb .ring {
  position: absolute; inset: -30px; border-radius: 50%; border: 1px solid var(--line-2);
  animation: ringspin 30s linear infinite;
}
.art-orb .ring::before, .art-orb .ring::after {
  content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber); top: -5px; left: 50%; margin-left: -5px;
  box-shadow: 0 0 12px var(--amber);
}
.art-orb .ring::after { background: var(--accent); top: auto; bottom: -5px; box-shadow: 0 0 12px var(--accent); }
@keyframes orbspin { 100% { transform: rotate(360deg); } }
@keyframes ringspin { 100% { transform: rotate(-360deg); } }

.art-ticket {
  padding: 14px; display: flex; flex-direction: column; gap: 8px;
}
.ticket {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.ticket .pri { font-size: 10px; padding: 3px 7px; border-radius: 999px; font-weight: 600; }
.ticket .pri.high { background: oklch(0.92 0.06 25); color: oklch(0.45 0.15 25); }
.ticket .pri.med { background: oklch(0.92 0.06 65); color: oklch(0.45 0.15 65); }
.ticket .pri.resolved { background: oklch(0.9 0.08 165); color: oklch(0.35 0.08 165); }
.ticket .meta { color: var(--ink-4); font-size: 11px; }

.art-leads { padding: 14px; }
.lead-row {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center;
  padding: 8px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.lead-row:last-child { border-bottom: 0; }
.lead-row .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px;
}
.lead-row .score {
  font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 700;
}
.lead-row .score.hot { background: oklch(0.92 0.08 65); color: oklch(0.45 0.16 65); }
.lead-row .score.warm { background: oklch(0.92 0.06 285); color: oklch(0.45 0.18 285); }
.lead-row .score.cold { background: oklch(0.94 0.02 230); color: oklch(0.45 0.06 230); }

/* ---- Industry flow diagram ---- */
.flow-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  perspective: 1400px;
}
.flow-diagram {
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column; align-items: center;
  transform: rotateY(-3deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.flow-step {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.flow-step.msg {
  background: linear-gradient(180deg, oklch(0.82 0.1 165 / 0.18), #fff);
  border-color: oklch(0.55 0.13 165 / 0.25);
}
.flow-step.msg .from {
  font-size: 11px; color: var(--ink-4); margin-top: 6px;
  display: flex; gap: 6px; align-items: center;
}
.flow-step.msg .from::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.55 0.13 165); box-shadow: 0 0 6px oklch(0.55 0.13 165);
}
.flow-step.msg .bubble-text {
  font-size: 13.5px; color: var(--ink); line-height: 1.4;
}
.flow-step.ai {
  background:
    linear-gradient(180deg, oklch(0.78 0.16 65 / 0.1), #fff),
    radial-gradient(120% 80% at 100% 0%, oklch(0.55 0.22 285 / 0.08), transparent);
  border-color: oklch(0.78 0.16 65 / 0.35);
  position: relative;
}
.flow-step.ai::before {
  content: '';
  position: absolute; inset: -1px; border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--accent));
  z-index: -1; opacity: 0.5; filter: blur(8px);
}
.flow-ai-head {
  display: flex; gap: 8px; align-items: center; font-size: 11px;
  color: var(--ink-2); margin-bottom: 8px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.flow-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
  font-size: 12px;
}
.flow-field { display: flex; justify-content: space-between; }
.flow-field .k { color: var(--ink-4); }
.flow-field .v { color: var(--ink); font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }
.flow-step.action {
  display: flex; gap: 12px; align-items: center;
}
.flow-step.action .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center; flex-shrink: 0;
}
.flow-step.action .at { font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }
.flow-step.action .ad { font-size: 11.5px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }
.flow-step.confirm {
  display: flex; gap: 10px; align-items: center;
  background: linear-gradient(180deg, oklch(0.92 0.08 165 / 0.5), #fff);
  border-color: oklch(0.55 0.13 165 / 0.3);
  font-size: 12.5px;
  padding: 10px 14px;
}
.flow-step.confirm .ck {
  width: 18px; height: 18px; border-radius: 50%;
  background: oklch(0.55 0.13 165);
  color: #fff; display: grid; place-items: center; flex-shrink: 0;
}

.flow-line {
  width: 40px; height: 42px;
  position: relative;
  flex-shrink: 0;
}
.flow-line::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
}
.flow-line .dot {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, 0);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
  animation: flowdot 1.8s linear infinite;
}
.flow-line .dot:nth-child(2) {
  animation-delay: 0.6s;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber), 0 0 20px var(--amber);
}
.flow-line .dot:nth-child(3) {
  animation-delay: 1.2s;
}
@keyframes flowdot {
  0%   { top: -4px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 42px; opacity: 0; }
}

/* Industry chip badge inside diagram */
.industry-badge {
  position: absolute; top: -14px; right: 16px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 5px 10px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 6px 16px -6px oklch(0.55 0.22 285 / 0.5);
}

/* ---- Product showcase tabs ---- */
.showcase {
  background:
    radial-gradient(60% 60% at 20% 20%, oklch(0.78 0.16 65 / 0.06), transparent 70%),
    radial-gradient(60% 60% at 80% 80%, oklch(0.55 0.22 285 / 0.06), transparent 70%),
    var(--bg);
}
.tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-3);
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.6);
  transition: all .18s;
  display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--ink); }
.tab.active {
  background: var(--ink);
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 8px 24px -10px oklch(0.55 0.22 285 / 0.5);
}
.tab .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }

.showcase-stage {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 520px;
}
.showcase-stage::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(100% 70% at 0% 0%, oklch(0.78 0.16 65 / 0.06), transparent 60%),
    radial-gradient(100% 70% at 100% 100%, oklch(0.55 0.22 285 / 0.06), transparent 60%);
  pointer-events: none;
}
.showcase-pane {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  min-height: 520px;
}
@media (max-width: 880px) { .showcase-pane { grid-template-columns: 1fr; } }
.showcase-copy {
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--line);
}
@media (max-width: 880px) { .showcase-copy { border-right: 0; border-bottom: 1px solid var(--line); padding: 36px 28px; } }
.showcase-copy h3 {
  font-size: 32px; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 600;
}
.showcase-copy h3 .serif { color: var(--accent); }
.showcase-copy p { color: var(--ink-3); font-size: 15.5px; margin: 0 0 24px; }
.showcase-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.showcase-bullet { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.showcase-bullet .ck {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  display: grid; place-items: center; color: #fff; font-size: 10px; margin-top: 1px;
}
.showcase-art {
  padding: 36px;
  display: grid; place-items: center;
  background: var(--bg-2);
  position: relative;
}

/* Pipeline showcase art */
.pipe-art {
  width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.pipe-art .pipe-col { min-height: 360px; }

/* Whatsapp showcase art (large phone) */
.phone {
  width: 280px; height: 540px;
  background: #fff;
  border-radius: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.phone::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: var(--ink); border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone-header {
  padding: 36px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  display: flex; align-items: center; gap: 10px;
}
.phone-header .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.phone-header .nm { font-size: 13px; font-weight: 600; }
.phone-header .st { font-size: 11px; color: var(--ink-4); display: flex; align-items: center; gap: 4px; }
.phone-header .st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.phone-body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  height: calc(100% - 100px);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, oklch(0.95 0.01 80) 0 2px, transparent 2px 8px),
    var(--bg-2);
}
.phone .bubble { font-size: 11.5px; padding: 8px 11px; }

/* Showcase: Pipeline kanban */
.showcase-pipe {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%;
  perspective: 1500px;
}
.showcase-pipe .pipe-col {
  background: oklch(1 0 0 / 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform .3s;
}
.showcase-pipe .pipe-col:nth-child(2) { transform: rotateY(-2deg) rotateX(4deg); }
.showcase-pipe .pipe-col:nth-child(3) { transform: rotateY(2deg) rotateX(4deg); }
.showcase-pipe .pipe-col:nth-child(4) { transform: rotateY(6deg) rotateX(4deg); }

/* Support showcase */
.support-stack {
  display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 380px;
}
.sup-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.sup-card-h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); }
.sup-card-h .id { font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.sup-card-msg { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.sup-card-ai {
  background: linear-gradient(180deg, oklch(0.78 0.16 65 / 0.08), transparent);
  border: 1px solid oklch(0.78 0.16 65 / 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  display: flex; gap: 8px;
}
.sup-card-ai .ai-orb { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }

/* leads showcase */
.lead-stack {
  width: 100%; max-width: 400px;
  display: flex; flex-direction: column; gap: 10px;
}
.lead-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
}
.lead-card .av {
  width: 36px; height: 36px; border-radius: 50%;
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.lead-card .nm { font-weight: 600; font-size: 14px; }
.lead-card .src { font-size: 11.5px; color: var(--ink-4); }
.lead-card .score-big {
  text-align: right;
}
.lead-card .score-num {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead-card .score-lbl { font-size: 10px; text-transform: uppercase; color: var(--ink-4); letter-spacing: 0.1em; }

/* ---- Pricing ---- */
.pricing {
  background:
    radial-gradient(50% 50% at 50% 0%, oklch(0.55 0.22 285 / 0.05), transparent 70%),
    var(--bg);
}
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: stretch;
}
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.price.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  position: relative;
}
.price.featured::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), var(--amber));
  z-index: -1;
  filter: blur(0);
  opacity: 1;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.price .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--amber));
  color: #fff;
  padding: 4px 14px; border-radius: 999px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
  box-shadow: 0 8px 20px -6px oklch(0.55 0.22 285 / 0.6);
}
.price-name { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 600; }
.price.featured .price-name { color: var(--amber); }
.price-amt {
  font-size: 56px; letter-spacing: -0.04em; font-weight: 600; margin: 16px 0 4px;
  display: flex; align-items: baseline; gap: 4px;
}
.price-amt .cur { font-size: 22px; margin-right: 2px; opacity: 0.7; }
.price-amt .per { font-size: 14px; font-weight: 500; opacity: 0.6; margin-left: 4px; }
.price-desc { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.price.featured .price-desc { color: oklch(0.85 0.02 270); }
.price-feats { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.price-feats li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.price-feats li .ck {
  width: 18px; height: 18px; border-radius: 50%;
  background: oklch(0.92 0.08 165);
  display: grid; place-items: center; flex-shrink: 0;
  color: oklch(0.35 0.08 165);
}
.price.featured .price-feats li .ck { background: var(--amber); color: var(--ink); }
.price .btn { width: 100%; justify-content: center; margin-top: auto; }
.price.featured .btn-primary { background: #fff; color: var(--ink); }
.price.featured .btn-primary::after { background: conic-gradient(from 180deg, var(--amber), var(--accent), var(--amber)); }
.toggle {
  display: inline-flex; padding: 4px; border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.7); border-radius: 999px; margin-bottom: 40px;
}
.toggle button {
  padding: 8px 18px; font-size: 13px; font-weight: 600; border-radius: 999px;
  color: var(--ink-3); transition: all .15s;
}
.toggle button.on { background: var(--ink); color: var(--bg); }
.toggle .save { font-size: 10px; background: var(--amber); color: var(--ink); padding: 2px 6px; border-radius: 4px; margin-left: 6px; font-weight: 700; }

.price-center { display: flex; justify-content: center; }

/* ---- Testimonials ---- */
.testi {
  background: var(--bg);
}
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 920px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testi-card.tall { grid-row: span 2; }
.testi-quote {
  font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink);
  flex: 1;
}
.testi-quote .serif { color: var(--accent); }
.testi-foot { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.testi-foot .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.testi-foot .nm { font-weight: 600; font-size: 14px; }
.testi-foot .ro { font-size: 12px; color: var(--ink-4); }
.testi-stat {
  background:
    linear-gradient(180deg, oklch(0.78 0.16 65 / 0.06), transparent 60%),
    var(--surface);
  border: 1px solid oklch(0.78 0.16 65 / 0.3);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}
.testi-stat .big {
  font-size: 40px; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--amber-deep), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.testi-stat .label { font-size: 12px; color: var(--ink-3); }

/* ---- Big CTA ---- */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cta-inner {
  background: var(--ink);
  border-radius: 28px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-inner::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, oklch(0.55 0.22 285 / 0.6), transparent 60%),
    radial-gradient(60% 60% at 70% 70%, oklch(0.78 0.16 65 / 0.5), transparent 60%);
  opacity: 0.9;
  animation: ctapulse 10s ease-in-out infinite alternate;
}
.cta-inner::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 50%, #000, transparent 80%);
}
@keyframes ctapulse {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(-20px, 20px); }
}
.cta-inner > * { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(38px, 5vw, 64px);
  margin: 0 auto 16px; letter-spacing: -0.03em; line-height: 1.02;
  color: #fff;
  max-width: 18ch; font-weight: 600;
}
.cta h2 .serif { color: var(--amber); }
.cta p { color: oklch(0.85 0.02 270); font-size: 17px; margin: 0 auto 32px; max-width: 50ch; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary::after { background: conic-gradient(from 0deg, var(--amber), var(--accent), var(--amber)); }
.cta .btn-ghost { color: #fff; border-color: oklch(1 0 0 / 0.2); background: transparent; }
.cta .btn-ghost:hover { background: oklch(1 0 0 / 0.06); }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.foot-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-4); font-weight: 600; margin-bottom: 16px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-blurb { font-size: 14px; color: var(--ink-3); margin: 14px 0 18px; max-width: 30ch; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-4);
}
.foot-bottom .socs { display: flex; gap: 10px; }
.soc {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink-3);
  transition: all .15s;
}
.soc:hover { color: var(--ink); border-color: var(--line-2); background: #fff; }

/* ---- Reveal animations ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Smooth marquee for trust strip */
@keyframes float-up {
  0%   { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 760px) {
  section.padded { padding: 64px 0; }
  .hero { padding: 48px 0 30px; }
  .hero h1 { letter-spacing: -0.025em; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-meta { gap: 14px 22px; }
  .stage { margin-top: 40px; perspective: 1600px; }
  .stage-deck { transform: none !important; }

  /* simplify CRM mock on mobile: drop the right column, shrink the sidebar */
  .mock-main { width: 100%; border-radius: 16px; }
  .crm-body { grid-template-columns: 1fr; min-height: 0; }
  .crm-side, .crm-aside { display: none; }
  .crm-main { padding: 16px; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi { padding: 10px; }
  .kpi-value { font-size: 16px; }

  /* Nav: hide secondary links + sign-in on small screens */
  .nav-cta .btn-ghost { display: none; }
  .nav-inner { height: 60px; }

  /* Logos: tighten spacing */
  .logos-row { gap: 24px; }
  .logo-item { font-size: 15px; }

  /* Features bento: all single column, full card spans 1 */
  .feat-grid { grid-template-columns: 1fr; }
  .feat.big { grid-row: span 1; padding: 24px; }
  .feat.full { grid-column: auto; grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .feat.full h3 { font-size: 22px; }
  .feat.full .feat-art { height: 180px; }
  .feat { padding: 22px; }
  .feat-art { height: 180px; }
  .feat.big .feat-art { height: 220px; }

  /* Showcase */
  .showcase-copy { padding: 28px 22px; }
  .showcase-copy h3 { font-size: 24px; }
  .showcase-art { padding: 24px; }
  .flow-diagram { transform: none; max-width: 100%; }
  .tabs { gap: 6px; }
  .tab { font-size: 12.5px; padding: 8px 12px; }

  /* Pricing */
  .price { padding: 24px; }
  .price-amt { font-size: 44px; }

  /* Testimonials */
  .testi-card { padding: 22px; }
  .testi-quote { font-size: 15px; }
  .testi-stat .big { font-size: 32px; }
  .testi-card.tall { grid-row: auto; }

  /* CTA */
  .cta { padding: 64px 0; }
  .cta-inner { padding: 56px 22px; border-radius: 22px; }
  .cta h2 { font-size: 36px; }
  .cta p { font-size: 15px; }

  /* Section heads */
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 15px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }

  /* Aurora softer on mobile */
  .aurora::before, .aurora::after { filter: blur(60px); opacity: 0.4; }
}

@media (max-width: 440px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
  .logos-row { gap: 18px; }
  .pricing .toggle button { padding: 8px 12px; font-size: 12px; }
  .flow-fields { grid-template-columns: 1fr; }
}
