/* WMS-Lite marketing site — Midnight Executive palette */
:root {
  --navy: #1E2761;
  --navy-2: #2A3873;
  --ice: #CADCFC;
  --accent: #4A6FD7;
  --accent-2: #7BB8FF;
  --ok: #0BAB64;
  --warn: #F2C94C;
  --bad: #EB5757;
  --text: #111733;
  --text-sub: #525B7A;
  --muted: #8A93B8;
  --bg: #FFFFFF;
  --bg-light: #F6F8FE;
  --border: #E1E7F5;
  --shadow: 0 4px 24px rgba(30, 39, 97, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.nav-logo img { height: 36px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--navy); text-decoration: none; }
.nav-cta { display: flex; gap: 12px; }
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: 0;
  transition: transform .08s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(74, 111, 215, 0.25); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--bg-light); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 4px 0; transition: .3s; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.4;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 span { color: var(--warn); }
.hero p.lead { font-size: 1.25rem; color: var(--ice); margin-bottom: 32px; line-height: 1.6; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn-outline { color: #fff; border-color: var(--ice); }
.hero-cta .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.hero-badges { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-badges span {
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--ice);
}

/* Hero illustration — псевдо-скриншот */
.hero-screenshot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.hero-screenshot .dots { display: flex; gap: 6px; margin-bottom: 16px; }
.hero-screenshot .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.hero-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.hero-card { background: rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 14px; }
.hero-card-num { font-size: 28px; font-weight: 700; color: #fff; }
.hero-card-label { font-size: 12px; color: var(--ice); }
.hero-bars { display: flex; gap: 4px; height: 80px; align-items: flex-end; padding-top: 8px; }
.hero-bars div { flex: 1; background: var(--accent-2); border-radius: 3px 3px 0 0; opacity: 0.85; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-light); }
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { margin-bottom: 12px; }
.section-sub { font-size: 1.1rem; color: var(--text-sub); margin-bottom: 48px; max-width: 720px; }

/* Pain points (vs ручной труд) */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.pain {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--bad);
  border-radius: 12px;
  padding: 24px;
}
.pain h4 { color: var(--bad); font-size: 1.1rem; margin-bottom: 8px; }
.pain p { color: var(--text-sub); font-size: 14px; margin: 0; }
.pain.solution { border-left-color: var(--ok); }
.pain.solution h4 { color: var(--ok); }

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.vs-grid > div h3 { display: flex; align-items: center; gap: 10px; }
.vs-grid .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.vs-grid .left .dot { background: var(--bad); }
.vs-grid .right .dot { background: var(--ok); }

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
}
/* Phosphor Light — тонкие, нейтральные outline-иконки (см. <link rel="stylesheet">
   на CDN @phosphor-icons/web в <head>). Один веc, один цвет — единый стиль везде. */
.feature-icon i {
  font-size: 28px;
  line-height: 1;
  color: currentColor;
}
.ai-feature .feature-icon { color: #fff; }

/* Inline Phosphor-иконка рядом с текстом (в булитах тарифа, ref-note и т.п.) */
.ph-inline {
  font-size: 1.1em;
  vertical-align: -0.15em;
  margin-right: 6px;
  color: var(--navy);
}
.ph-inline.ph-accent { color: var(--brand-green, #16a34a); }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--navy); }
.feature p { color: var(--text-sub); font-size: 14px; margin: 0; }

/* AI section — premium dark */
.ai-section {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #fff;
}
.ai-section h2, .ai-section h3 { color: #fff; }
.ai-section .section-sub { color: var(--ice); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.ai-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
}
.ai-feature .feature-icon { background: rgba(255, 255, 255, 0.1); }
.ai-feature p { color: var(--ice); font-size: 14px; }

/* Tariffs */
.tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.tariff {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tariff.recommended {
  border-color: var(--accent);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.tariff-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.tariff-name { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.tariff-desc { color: var(--text-sub); font-size: 14px; min-height: 42px; }
.tariff-price { font-size: 2.6rem; font-weight: 700; color: var(--text); margin: 16px 0 4px; line-height: 1; font-family: Georgia, serif; }
.tariff-period { color: var(--text-sub); font-size: 14px; margin-bottom: 24px; }
.tariff ul { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.tariff ul li {
  font-size: 14px;
  padding: 7px 0;
  color: var(--text);
}
.tariff ul li::before { content: '✓ '; color: var(--ok); font-weight: 700; margin-right: 4px; }
.tariff ul li.no { color: var(--muted); }
.tariff ul li.no::before { content: '— '; color: var(--muted); }

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 18px 24px;
}
.faq details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.faq details summary::marker, .faq details summary::-webkit-details-marker { color: var(--accent); }
.faq details[open] summary { color: var(--accent); }
.faq details p { margin: 12px 0 0; color: var(--text-sub); }

/* CTA strip */
.cta-strip {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: var(--ice); font-size: 1.1rem; margin-bottom: 24px; }

/* Footer */
footer {
  background: var(--text);
  color: var(--muted);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 2px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { padding: 5px 0; }
footer a { color: var(--ice); font-size: 14px; }
footer a:hover { color: #fff; }
footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.mobile-soon {
  display: inline-block;
  background: var(--warn);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 880px) {
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-screenshot { transform: scale(0.95); }
  .vs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  section { padding: 50px 0; }
  .tariff.recommended { transform: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
