/* ─────────────────────────────────────────────────────────────────────────────
   MONIK Landing — style.css
   Цветовой стиль: npp-asti.ru (#1459a7 синий, белый фон, строгий корпоратив)
   ─────────────────────────────────────────────────────────────────────────────*/

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #262626;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Container ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #dde3ea;
  height: 64px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: #1459a7;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  border-radius: 6px;
  letter-spacing: -0.01em;
}
.logo-text {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #1a1a2e;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: color 0.18s;
}
.nav-links a:hover { color: #1459a7; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg  { padding: 14px 28px; font-size: 15px; }
.btn-sm  { padding: 8px 18px;  font-size: 13px; }

.btn-primary,
a.btn-primary {
  background: #1459a7;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(20,89,167,0.25);
}
.btn-primary:hover,
a.btn-primary:hover {
  background: #0c2e8a;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(20,89,167,0.35);
}

.btn-outline {
  background: transparent;
  color: #1459a7;
  border: 2px solid #1459a7;
}
.btn-outline:hover {
  background: #1459a7;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #1459a7;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: #e6ebf5;
  transform: translateY(-1px);
}

/* ── Tags ───────────────────────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-blue  { background: #e6ebf5; color: #1459a7; border: 1px solid #b3cceb; }
.tag-green { background: #edf7ed; color: #2e7d32; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f5f8fc 0%, #fff 100%);
  border-bottom: 1px solid #e7e7e7;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 20px; }
.hero-content h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #1a1a2e;
}
.hero-sub {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid #e7e7e7; margin-top: 4px; }
.meta-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #666; font-weight: 500; }
.meta-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.meta-dot.green  { background: #2e7d32; }
.meta-dot.blue   { background: #1459a7; }
.meta-dot.indigo { background: #0c2e8a; }

/* ── Device Mockup ──────────────────────────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.device-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 24px 48px rgba(20,89,167,0.22))
          drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}
.mockup-img { width: 100%; height: auto; display: block; }

/* Стекло: left=28.26%, top=14.11%, w=57.41%, h=68.85% (из DeviceMockup.dart) */
.screen-overlay {
  position: absolute;
  left: 28.26%; top: 14.11%;
  width: 57.41%; height: 68.85%;
  background: #0d1117;
  overflow: hidden;
  border-radius: 2px;
}
.screen-demo {
  padding: 7% 6%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5%;
  font-size: clamp(9px, 1.8vw, 13px);
  box-sizing: border-box;
}
.demo-row { display: flex; justify-content: space-between; align-items: center; }
/* Статусбар */
.demo-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75em;
  color: #6b7280;
  padding: 0 1%;
}
.demo-label-lg { color: #e6edf3; font-size: 1em; font-weight: 800; letter-spacing: 0.04em; }
.demo-divider { height: 1px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* Сетка 2×2 с показателями */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4% 4%;
  flex: 1;
  align-content: center;
}
.demo-cell {
  display: flex;
  flex-direction: column;
  gap: 3%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  padding: 6% 8%;
}
.demo-cell-label {
  color: #6b7280;
  font-size: 0.78em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.demo-cell-value {
  color: #f0f6fc;
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.demo-cell-warn { color: #f97316; }
.demo-unit { font-size: 0.55em; font-weight: 500; color: #9ca3af; letter-spacing: 0; }
.device-glow {
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 32px;
  background: radial-gradient(ellipse, rgba(20,89,167,0.5) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* ── Sections ───────────────────────────────────────────────────────────────── */
.section        { padding: 88px 0; }
.section-alt    { background: #f7f8fa; border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: #1a1a2e;
}
.section-header p { font-size: 16px; color: #666; line-height: 1.7; }

/* ── Features Grid ──────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  padding: 32px 28px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: #1459a7;
  box-shadow: 0 4px 20px rgba(20,89,167,0.12);
  transform: translateY(-2px);
}
.card h3 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; color: #1a1a2e; }
.card p  { font-size: 14px; color: #666; line-height: 1.65; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-blue   { background: #e6ebf5; color: #1459a7; }
.icon-navy   { background: #e4e8f4; color: #0c2e8a; }
.icon-green  { background: #edf7ed; color: #2e7d32; }
.icon-orange { background: #fff3e0; color: #e65100; }
.icon-teal   { background: #e0f4f7; color: #00796b; }
.icon-red    { background: #fde8e8; color: #c62828; }

/* ── Steps ──────────────────────────────────────────────────────────────────── */
.steps-grid { display: flex; align-items: flex-start; gap: 12px; }
.step {
  flex: 1;
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
}
.step h3 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; color: #1a1a2e; }
.step p  { font-size: 14px; color: #666; line-height: 1.65; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #1459a7;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.step-arrow { font-size: 24px; color: #ccc; margin-top: 50px; flex-shrink: 0; }

/* ── Use Cases ──────────────────────────────────────────────────────────────── */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.usecase-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: all 0.2s;
}
.usecase-card:hover {
  border-color: #1459a7;
  box-shadow: 0 4px 20px rgba(20,89,167,0.1);
}
.usecase-emoji { font-size: 32px; flex-shrink: 0; line-height: 1; }
.usecase-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; color: #1a1a2e; }
.usecase-card p  { font-size: 14px; color: #666; line-height: 1.65; }

/* ── Specs ──────────────────────────────────────────────────────────────────── */
.specs-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: start;
}
.specs-table-wrap {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  overflow: hidden;
}
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table tr { border-bottom: 1px solid #f0f2f5; }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  padding: 13px 20px;
  text-align: left;
  font-weight: 600;
  color: #333;
  width: 190px;
  background: #f7f8fa;
  white-space: nowrap;
}
.specs-table td { padding: 13px 20px; color: #555; }

.specs-highlight { display: flex; flex-direction: column; gap: 14px; }
.highlight-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
}
.highlight-num {
  font-size: 26px;
  font-weight: 800;
  color: #1459a7;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.highlight-num span { font-size: 18px; opacity: 0.5; }
.highlight-label { font-size: 12px; color: #888; font-weight: 500; }

/* ── Unique Section ─────────────────────────────────────────────────────────── */
.section-unique {
  background: linear-gradient(180deg, #0c2e8a 0%, #1459a7 100%);
  color: #fff;
}

.unique-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.unique-header .tag-blue {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.unique-header h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
  color: #fff;
}
.unique-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.unique-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.unique-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 32px 28px;
  transition: background 0.2s;
}
.unique-card:hover {
  background: rgba(255,255,255,0.13);
}
.unique-card-accent {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  grid-column: span 1;
}
.unique-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.unique-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.unique-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

/* ── Contact Form Section ───────────────────────────────────────────────────── */
.section-contact { background: #f5f8fc; border-top: 1px solid #e7e7e7; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-points { display: flex; flex-direction: column; gap: 14px; }
.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #444;
}
.contact-point-icon {
  width: 36px; height: 36px;
  background: #1459a7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.form-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: #333; }

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #dde3ea;
  border-radius: 7px;
  font-family: inherit;
  font-size: 14px;
  color: #1a1a2e;
  background: #fafbfc;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-control::placeholder { color: #aaa; }
.form-control:focus {
  border-color: #1459a7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20,89,167,0.12);
}
textarea.form-control { resize: vertical; min-height: 90px; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #777;
  margin-bottom: 20px;
  line-height: 1.5;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: #1459a7;
  cursor: pointer;
}
.form-consent a { color: #1459a7; text-decoration: underline; }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form-status {
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}
.form-status.success { color: #2e7d32; }
.form-status.error   { color: #c62828; }

/* ── CTA ────────────────────────────────────────────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, #0c2e8a 0%, #1459a7 60%, #1a6dc8 100%);
}
.cta-box { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-box h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.cta-box p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer { background: #1a1a2e; padding: 28px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer .logo-mark { background: rgba(255,255,255,0.15); font-size: 15px; }
.footer .logo-text { color: #fff; font-size: 16px; }
.footer-copy { font-size: 13px; color: #888; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: #888; transition: color 0.18s; }
.footer-links a:hover { color: #fff; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-layout  { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .specs-highlight { flex-direction: row; flex-wrap: wrap; }
  .highlight-card { flex: 1; min-width: 110px; }
  .unique-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 90px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .unique-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); margin: 0 auto; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
}
