:root {
  --canvas: #09090b;
  --canvas-2: #020202;
  --paper: #121214;
  --paper-2: #1e1e24;
  --ink: #fafafa;
  --ink-soft: #a1a1aa;
  --ink-muted: #71717a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --accent: #8b7cf6;
  --accent-soft: rgba(139, 124, 246, 0.15);
  --accent-2: #7c6ff7;
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.9);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139, 124, 246, 0.08), transparent 35%),
    radial-gradient(circle at top right, rgba(124, 111, 247, 0.05), transparent 30%),
    linear-gradient(180deg, var(--canvas-2), var(--canvas));
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

main {
  position: relative;
}

.page-shell {
  min-height: 100vh;
}

.section {
  padding: 52px 20px;
}

.section-inner {
  width: min(var(--container), calc(100vw - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 16px 0;
}

.topbar-inner {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 6px);
  background: rgba(18, 18, 20, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #ede9fe);
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(32, 22, 14, 0.06);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-copy span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  justify-content: center;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(25, 22, 19, 0.04);
  outline: none;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-actions .btn {
  padding: 0 15px;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  height: 42px;
  min-width: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(30, 30, 35, 0.85);
  outline: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  color: var(--ink-muted);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(24, 24, 27, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  display: none;
}

.lang-menu.open {
  display: grid;
}

.lang-option {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.lang-option:hover,
.lang-option.active {
  background: var(--accent-soft);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: linear-gradient(180deg, #8b7cf6, var(--accent));
  color: #fff;
  box-shadow: 0 14px 30px rgba(139, 124, 246, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(139, 124, 246, 0.28);
}

.btn-secondary,
.btn-ghost {
  background: rgba(18, 18, 20, 0.76);
  border-color: var(--border);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--border-strong);
  background: rgba(30, 30, 35, 0.85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn-large {
  height: 48px;
  padding-inline: 22px;
}

.hero {
  padding-top: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
}

.hero-copy {
  padding: 28px 10px 8px 4px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 18px rgba(32, 22, 14, 0.04);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 124, 246, 0.12);
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.hero h1 em,
.section-head h2 em,
.proof-card-large h2 em,
.cta-card h2 em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle,
.section-subtitle {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.hero-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 244, 236, 0.90));
  box-shadow: var(--shadow-lg);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 4px 16px;
  border-bottom: 1px solid var(--border);
}

.panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.panel-brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(139, 124, 246, 0.12);
}

.panel-brand strong,
.rail-card-title,
.section-kicker,
.step-index {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.panel-brand span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-muted);
}

.panel-header-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.chip-soft {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  color: var(--ink-soft);
}

.preview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.board-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preview-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(44, 34, 24, 0.08);
  min-height: 100%;
}

.preview-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(44, 34, 24, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.count-badge {
  min-width: 26px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(139, 124, 246, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.ticket-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(30, 30, 35, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.ticket-card-active {
  border-color: rgba(139, 124, 246, 0.35);
  box-shadow: 0 18px 28px rgba(139, 124, 246, 0.12);
}

.ticket-top,
.ticket-bottom,
.rail-row,
.metric-row,
.rail-submetric,
.agent-row,
.proof-point {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ticket-top {
  margin-bottom: 10px;
}

.ticket-tag,
.ticket-state,
.ticket-agent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ticket-tag,
.ticket-state {
  background: rgba(25, 22, 19, 0.04);
  color: var(--ink-soft);
}

.ticket-state-warn {
  background: rgba(139, 124, 246, 0.12);
  color: var(--accent);
}

.ticket-state-good {
  background: rgba(38, 66, 95, 0.12);
  color: var(--accent-2);
}

.ticket-agent {
  color: var(--ink);
}

.ticket-agent-coral {
  background: rgba(139, 124, 246, 0.12);
}

.ticket-agent-blue {
  background: rgba(38, 66, 95, 0.12);
}

.ticket-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.ticket-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.ticket-bottom {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(44, 34, 24, 0.08);
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.progress-track {
  margin-top: 12px;
  height: 5px;
  border-radius: 999px;
  background: rgba(44, 34, 24, 0.08);
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #c4b5fd);
}

.progress-fill-blue {
  background: linear-gradient(90deg, var(--accent-2), #4f6f8a);
}

.drop-target {
  min-height: 92px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(44, 34, 24, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.preview-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rail-card {
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 34, 24, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 18px rgba(32, 22, 14, 0.04);
}

.rail-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.rail-row {
  align-items: flex-start;
}

.rail-label {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rail-value {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.rail-note {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.metric-row {
  align-items: baseline;
  margin-top: 12px;
}

.metric-row strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-row span,
.rail-submetric span,
.agent-row span {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
}

.rail-meter {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: rgba(44, 34, 24, 0.08);
  overflow: hidden;
}

.rail-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #c4b5fd);
}

.rail-submetric {
  margin-top: 10px;
}

.rail-submetric strong {
  font-size: 12px;
}

.agent-row {
  align-items: center;
  padding: 8px 0;
}

.agent-row strong {
  display: block;
  font-size: 13px;
}

.agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
  box-shadow: 0 8px 16px rgba(32, 22, 14, 0.10);
}

.agent-coral {
  background: linear-gradient(180deg, #8b7cf6, var(--accent));
}

.agent-blue {
  background: linear-gradient(180deg, #446b88, var(--accent-2));
}

.agent-ink {
  background: linear-gradient(180deg, #3a3530, #1f1a17);
}

.trust-strip .section-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--ink-muted);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chip {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head h2,
.proof-card-large h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.step-card,
.proof-card,
.cta-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 20, 0.65);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(139, 124, 246, 0.10);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.workflow-grid {
  display: grid;
  gap: 20px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  padding: 20px;
}

.step-index {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
}

.step-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 16px;
}

.proof-card {
  padding: 24px;
}

.proof-points {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.proof-point {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
}

.proof-point strong {
  min-width: 180px;
  font-size: 14px;
}

.proof-point span {
  color: var(--ink-soft);
}

.quote-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(139, 124, 246, 0.15), rgba(30, 30, 35, 0.65));
  border: 1px solid rgba(139, 124, 246, 0.25);
}

.quote-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.proof-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mini-stat {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(30, 30, 35, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  text-align: left;
}

.mini-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent);
}

.mini-stat span {
  display: block;
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta-section {
  padding-bottom: 64px;
}

.cta-card {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-card h2 {
  max-width: 720px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 280px;
}

.footer {
  padding: 0 20px 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
}

.footer-brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  outline: none;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 32px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.popular {
  border-color: rgba(139, 124, 246, 0.3);
  background: radial-gradient(circle at top, rgba(139, 124, 246, 0.05), rgba(255, 255, 255, 0.02) 70%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular:hover {
  border-color: rgba(139, 124, 246, 0.5);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 99px;
}

.pricing-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 28px;
}

.price-val {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pricing-card.popular .price-val {
  color: var(--accent);
}

.price-period {
  font-size: 14px;
  color: var(--ink-soft);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 1180px) {
  .hero-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .board-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-column:last-child {
    grid-column: 1 / -1;
  }

  .proof-card-side,
  .cta-card {
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 32px auto 0;
  }

  .topbar {
    position: static;
  }

  .topbar-inner {
    width: min(var(--container), calc(100vw - 24px));
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .feature-grid,
  .steps-grid,
  .proof-mini-grid {
    grid-template-columns: 1fr;
  }

  .proof-point {
    flex-direction: column;
  }

  .proof-point strong {
    min-width: 0;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .section {
    padding-inline: 14px;
  }

  .preview-rail {
    grid-template-columns: 1fr;
  }

  .board-preview {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding-inline: 8px;
  }

  .topbar-inner {
    width: calc(100vw - 16px);
    padding: 12px;
    border-radius: 24px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .nav-actions {
    gap: 8px;
    flex-wrap: wrap;
  }

  .btn,
  .lang-btn {
    height: 40px;
  }

  .btn-large {
    height: 46px;
  }

  .hero-copy {
    padding-inline: 0;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-panel {
    padding: 14px;
  }

  .board-preview {
    grid-template-columns: 1fr;
  }

  .preview-column {
    padding: 12px;
  }

  .hero-panel-header,
  .panel-brand,
  .metric-row,
  .rail-row,
  .rail-submetric,
  .agent-row,
  .ticket-top,
  .ticket-bottom {
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Feedback Modal on Landing Page */
.landing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
}

.landing-modal-content {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  animation: scaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.landing-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.landing-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.landing-modal-close {
  background: none;
  border: none;
  color: #a0a0a0;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.landing-modal-close:hover {
  color: #fff;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #a0a0a0;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.category-buttons {
  display: flex;
  gap: 8px;
}

.cat-btn {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a0a0;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.cat-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cat-btn.active {
  border-color: #6c5ce7;
  background: rgba(108, 92, 231, 0.12);
  color: #fff;
}

.form-group textarea,
.form-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
}

.form-group textarea {
  min-height: 96px;
  resize: vertical;
}

.form-group textarea:focus,
.form-group input:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.25);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

