/* CarSync landing — isolated stylesheet (home page only) */

/* Override global app.css (e.g. nav { flex-direction: column }) */
.page-cs-home nav.cs-nav__links {
  padding: 0;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.page-cs-home {
  --cs-bg: #fafafa;
  --cs-ink: #0c0c0e;
  --cs-muted: #5c5c66;
  --cs-border: #e8e8ec;
  --cs-accent: #2563eb;
  --cs-accent-soft: #eff6ff;
  --cs-green: #16a34a;
  --cs-radius: 14px;
  --cs-font: 'Geist', system-ui, sans-serif;
  --cs-mono: 'Geist Mono', ui-monospace, monospace;
  background: var(--cs-bg);
  color: var(--cs-ink);
  font-family: var(--cs-font);
  overflow-x: hidden;
}

.page-cs-home * {
  box-sizing: border-box;
}

/* —— Nav —— */
.cs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cs-border);
}

.cs-nav__inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cs-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.cs-nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cs-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cs-nav__brand strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-nav__brand small {
  display: block;
  font-size: 11px;
  color: var(--cs-muted);
}

.cs-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.cs-nav__links a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.cs-nav__links a:hover {
  color: var(--cs-ink);
  background: #fff;
}

.cs-nav__links a.is-active {
  color: var(--cs-ink);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cs-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cs-nav__actions .cs-btn {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--cs-border);
  background: #fff;
  color: var(--cs-ink);
  white-space: nowrap;
}

.cs-nav__actions .cs-btn--primary {
  background: var(--cs-accent);
  color: #fff;
  border-color: var(--cs-accent);
  font-weight: 600;
}

.page-cs-home .cs-nav__actions .cs-btn:hover {
  opacity: 0.92;
}

.cs-nav__progress {
  position: fixed;
  top: 64px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cs-accent), #38bdf8);
  z-index: 99;
  transition: width 0.1s linear;
}

/* —— Layout —— */
.cs-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.cs-section {
  padding: 88px 0;
}

.cs-section--dark {
  background: var(--cs-ink);
  color: #f4f4f5;
}

.cs-section--dark .cs-kicker {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e4e4e7;
}

.cs-section--dark .cs-lead {
  color: #a1a1aa;
}

/* —— Hero —— */
.cs-hero {
  padding: 120px 0 72px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0c0c0e 0%, #18181b 45%, #1e293b 100%);
  color: #fafafa;
}

.cs-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

.cs-hero__glow--1 {
  width: 500px;
  height: 500px;
  background: #3b82f6;
  top: -120px;
  right: -80px;
  animation: cs-float 8s ease-in-out infinite;
}

.cs-hero__glow--2 {
  width: 400px;
  height: 400px;
  background: #22d3ee;
  bottom: -100px;
  left: -100px;
  animation: cs-float 10s ease-in-out infinite reverse;
}

@keyframes cs-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

.cs-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.cs-kicker--light {
  background: var(--cs-accent-soft) !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}

.cs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--cs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  margin: 0 0 20px;
}

.cs-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.cs-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #38bdf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cs-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #d4d4d8;
  max-width: 540px;
  margin: 0 0 20px;
}

.cs-hero__bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #e4e4e7;
  line-height: 1.45;
}

.cs-hero__bullets i {
  color: #4ade80;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cs-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cs-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.cs-btn-hero:hover {
  transform: translateY(-1px);
}

.cs-btn-hero--primary {
  background: #fff;
  color: #0c0c0e;
  border-color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.cs-btn-hero--primary:hover {
  background: #f4f4f5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cs-btn-hero--ghost {
  background: transparent;
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.45);
}

.cs-btn-hero--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.cs-btn-hero--demo {
  background: rgba(59, 130, 246, 0.25);
  color: #fafafa;
  border-color: rgba(147, 197, 253, 0.6);
}

.cs-btn-hero--demo:hover {
  background: rgba(59, 130, 246, 0.4);
  border-color: #93c5fd;
}

.cs-hero__cta-note {
  width: 100%;
  margin: -16px 0 0;
  font-size: 12px;
  color: #71717a;
  line-height: 1.45;
}

.cs-btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 12px;
}

/* Hero höger: animerat flöde / GIF */
.cs-hero-visual {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

/* Inspelad GIF (valfritt) */
.cs-flow-gif-wrap {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.cs-flow-gif__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-family: var(--cs-mono);
  color: #a1a1aa;
}

.cs-flow-gif__dots,
.cs-flow-demo__dots {
  display: flex;
  gap: 5px;
}

.cs-flow-gif__dots i,
.cs-flow-demo__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: block;
}

.cs-flow-gif__dots i:nth-child(1),
.cs-flow-demo__dots i:nth-child(1) {
  background: #f87171;
}

.cs-flow-gif__dots i:nth-child(2),
.cs-flow-demo__dots i:nth-child(2) {
  background: #fbbf24;
}

.cs-flow-gif__dots i:nth-child(3),
.cs-flow-demo__dots i:nth-child(3) {
  background: #4ade80;
}

.cs-flow-gif {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* CSS-animerad demo (GIF-lik) */
.cs-flow-demo {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.cs-flow-demo__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-flow-demo__caption {
  font-size: 11px;
  font-family: var(--cs-mono);
  color: #93c5fd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-flow-demo__viewport {
  position: relative;
  height: 280px;
  background: #fafafa;
  color: #18181b;
}

.cs-flow-frame {
  position: absolute;
  inset: 0;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.cs-flow-frame.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cs-flow-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #71717a;
  font-family: var(--cs-mono);
}

.cs-flow-input {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 2px solid #e4e4e7;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--cs-mono);
}

.cs-flow-cursor {
  width: 2px;
  height: 1.1em;
  background: var(--cs-accent);
  margin-left: 2px;
  animation: cs-blink 1s step-end infinite;
}

@keyframes cs-blink {
  50% { opacity: 0; }
}

.cs-flow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  font-family: inherit;
  cursor: default;
}

.cs-flow-btn--ghost {
  background: #f4f4f5;
  color: #3f3f46;
  align-self: flex-start;
}

.cs-flow-btn--primary {
  background: var(--cs-accent);
  color: #fff;
  width: 100%;
  margin-top: auto;
}

.cs-flow-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  color: #71717a;
  font-size: 13px;
}

.cs-flow-spin {
  font-size: 28px;
  color: var(--cs-accent);
  animation: cs-spin 0.8s linear infinite;
}

@keyframes cs-spin {
  to { transform: rotate(360deg); }
}

.cs-flow-vehicle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  margin-top: auto;
  animation: cs-pop 0.4s ease;
}

@keyframes cs-pop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}

.cs-flow-vehicle__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--cs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cs-flow-vehicle strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.cs-flow-vehicle span {
  font-size: 12px;
  color: #71717a;
}

.cs-flow-vehicle .cs-mock__tag {
  margin-left: auto;
  flex-shrink: 0;
}

.cs-flow-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-flow-channels li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.25s, background 0.25s;
}

.cs-flow-channels li img {
  object-fit: contain;
}

.cs-flow-channels li i {
  margin-left: auto;
  color: #d4d4d8;
  font-size: 18px;
}

.cs-flow-channels li.is-on {
  border-color: #86efac;
  background: #f0fdf4;
}

.cs-flow-channels li.is-on i {
  color: var(--cs-green);
}

.cs-flow-success {
  text-align: center;
  padding: 24px 12px;
  animation: cs-pop 0.4s ease;
}

.cs-flow-success > i {
  font-size: 40px;
  color: var(--cs-green);
  display: block;
  margin-bottom: 8px;
}

.cs-flow-success strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.cs-flow-success span {
  font-size: 12px;
  color: #71717a;
}

.cs-flow-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.cs-flow-stat span {
  display: block;
  font-size: 11px;
  color: #71717a;
  margin-bottom: 6px;
}

.cs-flow-bar {
  height: 8px;
  background: #e4e4e7;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 4px;
}

.cs-flow-bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--cs-accent);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-flow-bar--green i {
  background: var(--cs-green);
}

.cs-flow-stat strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-flow-steps {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-flow-steps span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-family: var(--cs-mono);
  color: #71717a;
  padding: 6px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.cs-flow-steps span.is-active {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.cs-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cs-hero__stats div strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cs-hero__stats div span {
  font-size: 12px;
  color: #71717a;
  font-family: var(--cs-mono);
}

/* Hero product mock */
.cs-mock {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.cs-mock__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.cs-mock__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.cs-mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.cs-mock__kpis article {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.cs-mock__kpis small {
  display: block;
  font-size: 10px;
  color: #a1a1aa;
  font-family: var(--cs-mono);
  margin-bottom: 4px;
}

.cs-mock__kpis strong {
  font-size: 1.25rem;
}

.cs-mock__kpis strong.ok {
  color: #4ade80;
}

.cs-mock__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.cs-mock__row:last-child {
  border-bottom: none;
}

.cs-mock__tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.cs-mock__tag--draft {
  background: rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
}

/* Live ticker */
.cs-ticker {
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid var(--cs-border);
  overflow: hidden;
}

.cs-ticker__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--cs-accent);
  font-family: var(--cs-mono);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-ticker__track {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-ticker__item {
  font-size: 12px;
  padding: 8px 14px;
  background: var(--cs-accent-soft);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1e40af;
  animation: cs-ticker-in 0.4s ease;
}

@keyframes cs-ticker-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Channels */
.cs-channels {
  padding: 40px 0;
  text-align: center;
}

.cs-channels p {
  font-size: 12px;
  color: var(--cs-muted);
  font-family: var(--cs-mono);
  margin: 0 0 16px;
}

.cs-channels__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-channels__row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

.cs-channels__row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Section headers */
.cs-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.cs-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.cs-head p {
  font-size: 1rem;
  color: var(--cs-muted);
  line-height: 1.6;
  margin: 0;
}

.cs-section--dark .cs-head p {
  color: #a1a1aa;
}

/* Problem / solution */
.cs-compare-wrap {
  margin-top: 8px;
  overflow-x: auto;
}
.cs-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--cs-surface, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.cs-compare-table th,
.cs-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: top;
}
.cs-compare-table thead th {
  font-size: 13px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.04);
}
.cs-compare-th--bad { color: #b91c1c; }
.cs-compare-th--good { color: #047857; }
.cs-compare-table tbody th[scope="row"] {
  font-weight: 600;
  width: 22%;
  color: rgba(15, 23, 42, 0.7);
}
.cs-compare-table tbody tr:last-child td,
.cs-compare-table tbody tr:last-child th {
  border-bottom: none;
}

.cs-problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cs-problem__card {
  padding: 28px;
  border-radius: var(--cs-radius);
  border: 1px solid var(--cs-border);
  background: #fff;
}

.cs-problem__card--bad {
  opacity: 0.85;
}

.cs-problem__card--good {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.cs-problem__card h3 {
  font-size: 1.125rem;
  margin: 0 0 12px;
}

.cs-problem__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-problem__card li {
  font-size: 14px;
  color: var(--cs-muted);
  padding: 6px 0;
  display: flex;
  gap: 8px;
}

.cs-problem__card li::before {
  content: '•';
  color: var(--cs-muted);
}

/* Steps + demo */
.cs-steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.cs-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-step-btn {
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  background: #fff;
  cursor: default;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cs-step-btn.is-active {
  border-color: var(--cs-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cs-step-btn span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cs-ink);
  color: #fff;
  font-size: 12px;
  font-family: var(--cs-mono);
  margin-bottom: 8px;
}

.cs-step-btn h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.cs-step-btn p {
  font-size: 13px;
  color: var(--cs-muted);
  margin: 0;
  line-height: 1.5;
}

.cs-demo-panel {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  padding: 24px;
  min-height: 280px;
  position: sticky;
  top: 88px;
}

.cs-demo-panel__screen {
  display: none;
  animation: cs-fade 0.35s ease;
}

.cs-demo-panel__screen.is-visible {
  display: block;
}

@keyframes cs-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.cs-demo-panel__label {
  font-size: 11px;
  font-family: var(--cs-mono);
  color: var(--cs-muted);
  margin-bottom: 16px;
}

.cs-demo-field {
  margin-bottom: 12px;
}

.cs-demo-field label {
  display: block;
  font-size: 11px;
  color: var(--cs-muted);
  margin-bottom: 4px;
}

.cs-demo-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  font-size: 14px;
  background: #fafafa;
}

.cs-demo-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.cs-demo-ch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  font-size: 13px;
}

.cs-demo-ch img {
  width: 22px;
  height: 22px;
}

.cs-demo-ch b {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #dcfce7;
  color: var(--cs-green);
  font-weight: 500;
}

.cs-demo-success {
  text-align: center;
  padding: 40px 20px;
}

.cs-demo-success i {
  font-size: 48px;
  color: var(--cs-green);
  display: block;
  margin-bottom: 12px;
}

/* Features grid */
.cs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cs-feature {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cs-radius);
}

.cs-feature i {
  font-size: 24px;
  color: #60a5fa;
  margin-bottom: 12px;
  display: block;
}

.cs-feature h3 {
  font-size: 15px;
  margin: 0 0 8px;
  color: #fafafa;
}

.cs-feature p {
  font-size: 13px;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.55;
}

.cs-exclusive {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--cs-radius);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(96, 165, 250, 0.3);
  text-align: center;
}

.cs-exclusive h3 {
  font-size: 14px;
  margin: 0 0 12px;
  color: #93c5fd;
}

.cs-exclusive__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cs-exclusive__tags span {
  font-size: 12px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  color: #e4e4e7;
}

/* Metrics band */
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cs-metric {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
}

.cs-metric strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.cs-metric span {
  font-size: 12px;
  color: var(--cs-muted);
  line-height: 1.45;
}

/* Pricing */
.cs-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.cs-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
}

.cs-price-card--featured {
  border-color: var(--cs-accent);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.cs-price-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--cs-accent);
  color: #fff;
  border-radius: 999px;
}

.cs-price-card h3 {
  font-size: 1.125rem;
  margin: 0 0 8px;
}

.cs-price-amount {
  margin-bottom: 12px;
}

.cs-price-amount strong {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.cs-price-amount span {
  display: block;
  font-size: 12px;
  color: var(--cs-muted);
  margin-top: 2px;
}

.cs-price-desc {
  font-size: 13px;
  color: var(--cs-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.cs-price-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
}

.cs-price-list li {
  font-size: 13px;
  color: var(--cs-muted);
  padding: 5px 0;
  display: flex;
  gap: 8px;
}

.cs-price-list i {
  color: var(--cs-green);
  font-size: 16px;
}

.cs-price-card .cs-btn {
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--cs-border);
  background: #f4f4f5;
  color: var(--cs-ink);
  display: block;
}

.cs-price-card .cs-btn:hover {
  background: #e4e4e7;
}

.cs-price-card--featured .cs-btn {
  background: var(--cs-accent);
  color: #fff;
  border-color: var(--cs-accent);
}

.cs-price-card--featured .cs-btn:hover {
  background: #1d4ed8;
}

.cs-pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--cs-muted);
  margin: 20px auto 0;
  max-width: 560px;
  line-height: 1.6;
}

/* Quotes */
.cs-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cs-section--quotes {
  background: #fff;
}

.cs-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.cs-quote {
  padding: 28px 24px;
  background: #fafafa;
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
}

.cs-quote p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: var(--cs-ink);
}

.cs-quote p strong {
  font-weight: 600;
}

.cs-quote cite {
  font-size: 12px;
  font-style: normal;
  color: var(--cs-muted);
}

/* FAQ */
.cs-faq {
  max-width: 680px;
  margin: 0 auto;
}

.cs-faq details {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 8px;
}

.cs-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
}

.cs-faq summary::-webkit-details-marker {
  display: none;
}

.cs-faq p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--cs-muted);
  line-height: 1.6;
}

/* Contact CTA */
.cs-cta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  background: linear-gradient(135deg, #0c0c0e, #1e3a5f);
  border-radius: 20px;
  color: #fafafa;
}

.cs-cta-block h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.cs-cta-block p {
  color: #a1a1aa;
  margin: 0 0 20px;
  line-height: 1.6;
}

.cs-cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-cta-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}

.cs-cta-block__btn--primary {
  background: #fff;
  color: var(--cs-ink);
  border-color: #fff;
}

.cs-cta-block__btn--ghost {
  background: transparent;
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.45);
}

.cs-cta-block__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cs-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cs-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 14px;
}

.cs-contact-item a {
  color: #93c5fd;
  text-decoration: none;
}

.cs-contact-item small {
  display: block;
  font-size: 11px;
  color: #71717a;
  margin-top: 2px;
}

/* Footer */
.cs-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--cs-border);
  font-size: 12px;
  color: var(--cs-muted);
}

.cs-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.cs-footer__grid strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--cs-ink);
}

.cs-footer__grid a {
  display: block;
  color: var(--cs-muted);
  text-decoration: none;
  padding: 3px 0;
}

.cs-footer__grid a:hover {
  color: var(--cs-ink);
}

.cs-footer__copy {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--cs-border);
}

/* Scroll reveal */
.cs-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.cs-reveal--delay-1 { transition-delay: 0.08s; }
.cs-reveal--delay-2 { transition-delay: 0.16s; }
.cs-reveal--delay-3 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 960px) {
  .cs-nav__links {
    display: none;
  }

  .cs-hero__bullets {
    font-size: 13px;
  }

  .cs-hero-visual {
    max-width: none;
    margin-left: 0;
  }

  .cs-flow-demo__viewport {
    height: 260px;
  }

  .cs-hero__grid,
  .cs-steps-layout,
  .cs-problem,
  .cs-cta-block {
    grid-template-columns: 1fr;
  }

  .cs-features,
  .cs-metrics,
  .cs-pricing,
  .cs-quotes {
    grid-template-columns: 1fr;
  }

  .cs-demo-panel {
    position: static;
  }

  .cs-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cs-nav__actions .cs-btn:first-child {
    display: none;
  }

  .cs-hero {
    padding-top: 100px;
  }

  .cs-mock__kpis {
    grid-template-columns: 1fr;
  }

  .cs-btn-hero {
    width: 100%;
  }
}
