/**
 * Shared sections used on multiple pages (WMSProApp — Page Sections)
 */

/* --- Section header (WMSProApp SectionEyebrow + SectionHeader) --- */
.section-eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #2563eb;
}

.section-header {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.section-header .section-eyebrow {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #020617;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header p:not(.section-eyebrow) {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.625;
  color: #475569;
}

.integration-section .section-eyebrow {
  color: #93c5fd;
}

/* --- Page hero (features, solutions, pricing, …) --- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .page-hero { padding: 5rem 0; }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(79,70,229,.1), transparent 32%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.page-hero-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #2563eb;
}

.page-hero h1 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: #020617;
}

@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 3.75rem; } }

.page-hero p:not(.section-eyebrow) {
  margin: 1.5rem auto 0;
  max-width: 48rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: #475569;
}

/* --- Stat strip (home) --- */
.stat-strip {
  display: grid;
  gap: 1rem;
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }

.stat-strip-item {
  border-radius: 1.5rem;
  background: #f8fafc;
  padding: 1.5rem;
  text-align: center;
}

.stat-strip-value {
  font-size: 1.875rem;
  font-weight: 900;
  color: #020617;
}

.stat-strip-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  color: #64748b;
}

/* --- Workflow (home, features) --- */
.workflow-section {
  background: #fff;
  padding: 6rem 0;
}

.workflow-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .workflow-grid { grid-template-columns: repeat(5, 1fr); }
}

.workflow-card {
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.workflow-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 10px 25px rgba(15,23,42,.08);
}

.workflow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.workflow-step-num {
  font-size: 0.875rem;
  font-weight: 900;
  color: #2563eb;
}

.workflow-card-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #fff;
  color: #2563eb;
  font-weight: 900;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

.workflow-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #020617;
}

.workflow-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  color: #475569;
}

/* --- Integration (home, features) --- */
.integration-section {
  background: #020617;
  color: #fff;
  padding: 6rem 0;
}

.integration-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}

.integration-tile {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  padding: 1rem;
  font-weight: 900;
  color: #f1f5f9;
  backdrop-filter: blur(4px);
}

/* --- FAQ (pricing) --- */
.faq-section { background: #fff; padding: 5rem 0; }

.faq-list {
  max-width: 56rem;
  margin: 3rem auto 0;
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1.5rem;
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #020617;
}

.faq-item p {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #475569;
}

/* --- UI mockup (home hero) — WMSProApp ExactUIMockup --- */
.ui-mockup {
  width: 100%;
  background: #f4f6f8;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ui-mockup-topbar {
  height: 3.5rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.ui-mockup-topbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ui-mockup-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(37,99,235,.1);
}

.ui-mockup-topbar-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.ui-mockup-user {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}

.ui-mockup-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ui-mockup-search-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  cursor: default;
}

@media (min-width: 640px) {
  .ui-mockup-search-btn { display: inline-flex; }
}

.ui-mockup-topbar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
}

.ui-mockup-body {
  display: flex;
  flex-direction: row-reverse;
  min-height: 520px;
  background: #f4f6f8;
}

/* В hero высоту задаёт текстовая колонка, не min-height mockup */
.home-mockup-wrap .ui-mockup-body {
  min-height: 0;
}

.ui-mockup-sidebar {
  display: none;
  width: 14rem;
  flex-shrink: 0;
  background: #161c2d;
  color: #cbd5e1;
  border-inline-start: 1px solid #1e293b;
  flex-direction: column;
  align-self: stretch;
}

@media (min-width: 640px) {
  .ui-mockup-sidebar { display: flex; }
}

.ui-mockup-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(30,41,59,.6);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}

.ui-mockup-sidebar-tag {
  display: block;
  text-align: center;
  font-size: 0.625rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
  padding-bottom: 0.5rem;
}

.ui-mockup-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: grid;
  gap: 0.25rem;
  overflow-y: auto;
}

.ui-mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #94a3b8;
}

.ui-mockup-nav-item span {
  letter-spacing: 0.02em;
}

.ui-mockup-nav-item.is-active {
  background: #2563eb;
  color: #fff;
}

.ui-mockup-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 1.5rem;
  overflow-y: auto;
  background: #f4f6f8;
}

.ui-mockup-welcome {
  background: rgba(239,246,255,.5);
  border: 1px solid #dbeafe;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.ui-mockup-welcome-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ui-mockup-welcome-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e3a8a;
}

.ui-mockup-welcome p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}

.ui-mockup-welcome-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.ui-mockup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: default;
}

.ui-mockup-btn--primary { background: #3b82f6; color: #fff; }
.ui-mockup-btn--danger { background: #ef4444; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.ui-mockup-btn--outline { background: #fff; border: 1px solid #e2e8f0; color: #475569; }

.ui-mockup-dashboard-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ui-mockup-dashboard-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ui-mockup-dashboard-copy {
  text-align: right;
}

.ui-mockup-dashboard-head h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
}

.ui-mockup-dashboard-head p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}

.ui-mockup-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ui-mockup-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1280px) {
  .ui-mockup-kpis { grid-template-columns: repeat(4, 1fr); }
}

.ui-mockup-kpi {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

.ui-mockup-kpi h4,
.ui-mockup-kpi span {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.ui-mockup-kpi strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 1rem;
}

.ui-mockup-kpi-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-mockup-kpi-icon--emerald { background: #d1fae5; }
.ui-mockup-kpi-icon--blue { background: #dbeafe; }
.ui-mockup-kpi-icon--amber { background: #fef3c7; }
.ui-mockup-kpi-icon--purple { background: #f3e8ff; }

.ui-mockup-panels {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .ui-mockup-panels { grid-template-columns: 1fr 0.85fr; }
}

.ui-mockup-panel {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

.ui-mockup-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ui-mockup-panel-head h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
}

.ui-mockup-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.5rem;
}

.ui-mockup-task-badge,
.ui-mockup-task > span:last-child:not(:first-child) {
  border-radius: 9999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  flex-shrink: 0;
}

.ui-mockup-scan-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
}

.ui-mockup-scan-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
}

.integration-title {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
}

.integration-lead {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  color: #cbd5e1;
}
