:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-muted: #f5f6f8;
  --text: #1a1a1a;
  --text-muted: #4f4f4f;
  --accent: #2f80ed;
  --accent-soft: #4a90e2;
  --accent-warm: #f2994a;
  --accent-rose: #f2c1b3;
  --shadow: 0 20px 40px rgba(31, 41, 55, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 10;
  border-bottom: 1px solid #eef1f5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: var(--text-muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid #dce3ee;
  color: var(--text);
}

.btn-ghost {
  border: 1px solid transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
}

.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 15px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  gap: 24px;
}

.hero-card {
  position: absolute;
  top: -20px;
  right: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  width: 200px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e6ecf5 0%, #f2c1b3 100%);
}

.label {
  font-size: 12px;
  color: var(--text-muted);
}

.value {
  font-weight: 600;
}

.chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: end;
  height: 70px;
}

.chart span {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #cfd8ea 0%, #2f80ed 100%);
  border-radius: 6px;
  height: var(--h);
}

.section {
  padding: 90px 0;
}

.section-muted {
  background: var(--bg-soft);
}

.section-header {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cards-5 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cards-6 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card .icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

.card.small {
  padding: 20px;
}

.card.mini {
  padding: 18px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.feature-list,
.check-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 14px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "•";
  margin-right: 12px;
  color: var(--accent);
}

.check-list li::before {
  content: "✔";
  margin-right: 12px;
  color: var(--accent-soft);
}

.mini-illustrations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.mini-icon {
  font-size: 24px;
}

.principles-visual {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.development-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.site-footer {
  background: #101828;
  color: #f5f6f8;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h4 {
  margin-bottom: 12px;
}

.site-footer p {
  color: #d0d5dd;
  margin-bottom: 8px;
}

.site-footer .btn-primary {
  box-shadow: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: #98a2b3;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

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

  .hero-visual {
    order: -1;
  }

  .hero-card {
    position: static;
    width: 100%;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 40px;
  }
}

/* Analytics: блок "Результат" в стиле карточек/интерфейса */
.result-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid #eef1f5;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

 .result-label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

 .result-text {
  color: var(--text-muted);
}

