/* FlowBase SaaS LP */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1e293b;
  background: #fff;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 3px;
}
.container { width: min(1100px, 92vw); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: #6366f1;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* Header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
}
.lp-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-header__start {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.demo-hub-back {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
}
.demo-hub-back:hover {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-hub-back:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 3px;
}
.lp-logo {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  flex-shrink: 0;
}
.lp-header__cta { display: flex; gap: 8px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary {
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.btn--ghost { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.btn--outline { background: #fff; color: #4f46e5; border: 1px solid #c7d2fe; }
.btn--ghost-light { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.35); }

/* Hero */
.hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 100px);
  background: linear-gradient(180deg, #fafbff 0%, #fff 50%, #f8faff 100%);
}
.hero__wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  line-height: 1.25;
  margin: 0 0 16px;
  color: #0f172a;
}
.hero__sub { margin: 0 0 24px; color: #64748b; max-width: 28em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero__note { font-size: 0.82rem; color: #94a3b8; }
.hero__screen {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(99,102,241,0.15), 0 0 0 1px rgba(99,102,241,0.08);
}

/* SaaS UI mockup */
.saas-ui {
  background: #f8fafc;
  font-size: 0.72rem;
  color: #334155;
  text-align: left;
}
.saas-ui__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.saas-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
}
.saas-ui__dot:first-child { background: #fca5a5; }
.saas-ui__dot:nth-child(2) { background: #fde047; }
.saas-ui__dot:nth-child(3) { background: #86efac; }
.saas-ui__url {
  margin-left: 8px;
  font-size: 0.68rem;
  color: #94a3b8;
}
.saas-ui__body {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 280px;
}
.saas-ui--compact .saas-ui__body { min-height: 240px; }
.saas-ui__nav {
  padding: 16px 10px;
  background: #fff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.saas-ui__nav span {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.65rem;
  color: #64748b;
}
.saas-ui__nav .is-active {
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 600;
}
.saas-ui__main { padding: 16px; overflow: hidden; }
.ui-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.ui-kpi {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
}
.ui-kpi__label { display: block; font-size: 0.62rem; color: #94a3b8; margin-bottom: 4px; }
.ui-kpi strong { font-size: 0.95rem; color: #0f172a; }
.ui-kpi--alert strong { color: #dc2626; }
.ui-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}
.ui-panel {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 12px;
  overflow: hidden;
}
.ui-panel__title { margin: 0 0 8px; font-size: 0.72rem; font-weight: 600; color: #475569; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 0.65rem; }
.ui-table th, .ui-table td { padding: 6px 4px; text-align: left; border-bottom: 1px solid #f1f5f9; }
.ui-table th { color: #94a3b8; font-weight: 500; }
.ui-num { font-weight: 600; color: #4f46e5; white-space: nowrap; }
.ui-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.6rem;
  font-weight: 600;
}
.ui-badge--soft { background: #f1f5f9; color: #64748b; }
.ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding-top: 8px;
}
.ui-chart__bar {
  flex: 1;
  height: var(--h);
  min-height: 8px;
  background: linear-gradient(180deg, #818cf8, #6366f1);
  border-radius: 4px 4px 0 0;
}

/* Kanban */
.saas-ui__body--pipeline { display: block; padding: 16px; }
.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.kanban-col {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 8px;
  min-width: 0;
}
.kanban-col h4 {
  margin: 0 0 8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}
.kanban-col__cards { display: flex; flex-direction: column; gap: 6px; }
.kanban-card {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  font-size: 0.62rem;
}
.kanban-card strong { display: block; font-size: 0.68rem; color: #0f172a; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kanban-card span { color: #94a3b8; }
.kanban-card em { display: block; font-style: normal; font-weight: 600; color: #4f46e5; margin-top: 4px; font-size: 0.6rem; }

/* Customer detail */
.saas-ui__body--customer { display: block; padding: 16px; }
.customer-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}
.customer-info h3 { margin: 0 0 12px; font-size: 0.9rem; color: #0f172a; }
.customer-info dl { margin: 0 0 12px; }
.customer-info dt { font-size: 0.6rem; color: #94a3b8; margin-bottom: 2px; }
.customer-info dd { margin: 0 0 8px; font-size: 0.72rem; color: #334155; }
.customer-task, .customer-memo {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
}
.customer-task strong, .customer-memo strong { display: block; font-size: 0.62rem; color: #64748b; margin-bottom: 4px; }
.customer-task p, .customer-memo p { margin: 0; font-size: 0.7rem; }
.customer-history h3 { margin: 0 0 10px; font-size: 0.78rem; }
.customer-history ul { list-style: none; margin: 0; padding: 0; }
.customer-history li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.68rem;
}
.customer-history time { display: block; color: #94a3b8; font-size: 0.62rem; }
.customer-history p { margin: 4px 0 0; color: #475569; }

/* UI Demo tabs */
.ui-demo {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(99,102,241,0.08);
}
.ui-demo__tabs {
  display: flex;
  gap: 4px;
  padding: 12px 12px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
}
.ui-demo__tabs [role="tab"] {
  flex-shrink: 0;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 10px 10px 0 0;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}
.ui-demo__tabs [role="tab"][aria-selected="true"] {
  background: #fff;
  color: #4f46e5;
  box-shadow: 0 -1px 0 #fff;
}
.ui-demo__panels [role="tabpanel"] { padding: 0; }
.ui-demo__panels [role="tabpanel"][hidden] { display: none; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--compact { padding: 32px 0; }
.section--muted { background: #f8fafc; }
.section__title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  text-align: center;
  margin: 0 0 12px;
  color: #0f172a;
}
.section__lead { text-align: center; color: #64748b; max-width: 600px; margin: 0 auto 40px; font-size: 0.95rem; }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  opacity: 0.55;
  font-weight: 700;
  font-size: 0.95rem;
  color: #94a3b8;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.problem-card {
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.problem-card h3 { margin: 0 0 8px; font-size: 1rem; color: #dc2626; }
.problem-card p { margin: 0; font-size: 0.9rem; color: #64748b; }

/* Features — alternating blocks */
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
.feature-block--reverse { direction: rtl; }
.feature-block--reverse > * { direction: ltr; }
.feature-block h3 { margin: 0 0 12px; font-size: 1.15rem; color: #0f172a; }
.feature-block p { margin: 0; color: #64748b; font-size: 0.92rem; }
.feature-block__visual {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border-radius: 16px;
  padding: 24px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-mini { width: 100%; }
.feat-pipe { display: flex; gap: 8px; }
.feat-pipe span {
  flex: 1;
  padding: 12px 8px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}
.feat-contact-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.feat-contact-card strong { display: block; margin-bottom: 4px; }
.feat-contact-card span { font-size: 0.85rem; color: #64748b; }
.feat-contact-card em { display: block; font-style: normal; font-size: 0.78rem; color: #94a3b8; margin-top: 8px; }
.feat-mini--tasks ul { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 12px; padding: 12px; }
.feat-mini--tasks li { padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid #f1f5f9; display: flex; gap: 8px; align-items: center; }
.feat-mini--tasks li.is-due { color: #dc2626; font-weight: 600; }
.feat-mini--kpi { display: flex; gap: 16px; }
.feat-mini--kpi div { flex: 1; background: #fff; padding: 16px; border-radius: 12px; text-align: center; }
.feat-mini--kpi strong { display: block; font-size: 1.25rem; color: #4f46e5; }
.feat-mini--kpi span { font-size: 0.75rem; color: #94a3b8; }
.feat-mini--timeline { position: relative; padding-left: 20px; }
.feat-line { position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: #c7d2fe; }
.feat-mini--timeline ul { list-style: none; margin: 0; padding: 0; }
.feat-mini--timeline li { padding: 8px 0; font-size: 0.85rem; position: relative; }
.feat-mini--timeline li::before { content: ""; position: absolute; left: -18px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #6366f1; }
.feat-mini--export { text-align: center; }
.feat-csv { background: #fff; padding: 12px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 10px; border: 1px dashed #c7d2fe; }
.feat-mini--export button { padding: 8px 16px; border-radius: 8px; background: #6366f1; color: #fff; border: none; font-size: 0.8rem; }

/* Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.case-card {
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  position: relative;
}
.case-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: #e0e7ff;
  margin: 0 0 8px;
  line-height: 1;
}
.case-card h3 { margin: 0 0 16px; font-size: 1.1rem; color: #0f172a; }
.case-card__meta { margin: 0; }
.case-card__meta div { margin-bottom: 12px; }
.case-card__meta dt { font-size: 0.72rem; font-weight: 600; color: #6366f1; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.case-card__meta dd { margin: 0; font-size: 0.88rem; color: #475569; }
.case-card__result { color: #0f172a !important; font-weight: 600; }

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.metric__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}
.metric__label { font-size: 0.88rem; color: #64748b; margin: 6px 0 0; }

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.security-item {
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.security-item h3 { margin: 0 0 8px; font-size: 0.95rem; color: #0f172a; }
.security-item p { margin: 0; font-size: 0.85rem; color: #64748b; }

/* Integrations */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.integration-item {
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  text-align: center;
}
.integration-item__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef2ff, #ede9fe);
}
.integration-item h3 { margin: 0 0 6px; font-size: 0.92rem; color: #0f172a; }
.integration-item p { margin: 0; font-size: 0.78rem; color: #94a3b8; }

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.price-card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-color: #6366f1;
  box-shadow: 0 8px 32px rgba(99,102,241,0.12);
}
.price-card__badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
}
.price-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.price-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 8px 0;
  color: #0f172a;
}
.price-card__price span { font-size: 0.45em; font-weight: 500; color: #64748b; }
.price-card__users { font-size: 0.88rem; color: #64748b; margin: 0 0 16px; }
.price-card__features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
  font-size: 0.82rem;
}
.price-card__features li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}
.plan-check { color: #6366f1; font-weight: 700; }
.plan-dash { color: #cbd5e1; }

.pricing-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.pricing-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 0;
}
.pricing-compare th, .pricing-compare td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  text-align: center;
}
.pricing-compare th { background: #f8fafc; font-weight: 600; color: #0f172a; }
.pricing-compare th:first-child, .pricing-compare td:first-child { text-align: left; }
.pricing-compare tbody th { font-weight: 500; color: #475569; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-item__heading { margin: 0; }
.faq-item__btn {
  width: 100%;
  padding: 18px 0;
  text-align: left;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #0f172a;
  font-family: inherit;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  background: #6366f1;
  transition: transform 0.2s;
}
.faq-item__icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-item__icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }
.faq-item__btn[aria-expanded="true"] .faq-item__icon::after { transform: scaleY(0); }
.faq-item__panel { padding: 0 0 18px; color: #64748b; }
.faq-item__panel[hidden] { display: none; }
.faq-item__panel p { margin: 0; font-size: 0.92rem; }

/* CTA final */
.cta-final {
  text-align: center;
  padding: clamp(56px, 8vw, 80px) 0;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
}
.cta-final h2 { color: #fff; margin: 0 0 12px; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.cta-final p { margin: 0 0 24px; opacity: 0.9; }
.cta-final__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-final .btn--primary { background: #fff; color: #4f46e5; box-shadow: none; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,23,42,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open[hidden] { display: flex; }
.modal {
  position: relative;
  width: min(480px, 100%);
  max-height: min(90vh, 700px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 28px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
  outline: none;
}
.modal--thanks { text-align: center; }
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: #64748b;
}
.modal__title { margin: 0 0 24px; font-size: 1.25rem; color: #0f172a; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
.required { font-size: 0.72rem; color: #6366f1; }
.form-field input, .form-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}
.form-error { margin: 4px 0 0; font-size: 0.8rem; color: #dc2626; min-height: 1.1em; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }

/* Footer */
.site-footer {
  padding: 32px 0;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer a { color: #a5b4fc; }
.site-footer__demo { font-size: 0.72rem; opacity: 0.7; margin-top: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__wrap { grid-template-columns: 1fr; }
  .hero__screen { order: -1; }
  .ui-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .ui-split { grid-template-columns: 1fr; }
  .kanban-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .customer-layout { grid-template-columns: 1fr; }
  .problem-grid, .case-grid, .metrics, .security-grid, .integration-grid, .pricing-cards { grid-template-columns: 1fr; }
  .feature-block, .feature-block--reverse { grid-template-columns: 1fr; direction: ltr; }
  .saas-ui__body { grid-template-columns: 72px 1fr; }
}

@media (max-width: 768px) {
  .lp-header__cta .btn--ghost:first-child { display: none; }
  .kanban-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-pipe { flex-wrap: wrap; }
  .feat-pipe span { flex: 1 1 40%; }
  .pricing-compare thead { display: none; }
  .pricing-compare tr { display: block; margin-bottom: 16px; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
  .pricing-compare th[scope="row"] {
    display: block;
    background: #f8fafc;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .pricing-compare td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 16px;
  }
  .pricing-compare td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    text-align: left;
    margin-right: 12px;
  }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 1.5rem; }
  .hero__actions .btn { width: 100%; }
  .ui-kpi-row { grid-template-columns: 1fr 1fr; }
  .kanban-board { grid-template-columns: 1fr; }
  .ui-demo__tabs [role="tab"] { font-size: 0.78rem; padding: 8px 12px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
}
