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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #ffffff;
}

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

header {
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #0066ff;
  text-decoration: none;
}

header nav a {
  color: #444;
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

header nav a:hover { color: #0066ff; }

.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: #0066ff;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s;
}

.btn:hover { background: #0052cc; }

.features {
  padding: 60px 0;
  background: #f8f9fb;
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature p { color: #666; }

.tariffs {
  padding: 80px 0;
}

.tariffs h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tariff {
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: border 0.2s;
}

.tariff:hover { border-color: #0066ff; }

.tariff.popular { border-color: #0066ff; }

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0066ff;
  color: #fff;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.tariff h3 { font-size: 22px; margin-bottom: 16px; }

.price {
  font-size: 42px;
  font-weight: 700;
  color: #0066ff;
  margin-bottom: 24px;
}

footer {
  padding: 40px 0;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 14px;
  text-align: center;
}

footer nav { margin-top: 16px; }

footer nav a {
  color: #888;
  text-decoration: none;
  margin: 0 12px;
}

footer nav a:hover { color: #0066ff; }

/* Стили для юридических страниц */
.legal {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.legal p, .legal li {
  color: #444;
  margin-bottom: 12px;
}

.legal ul { padding-left: 24px; margin-bottom: 16px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .hero { padding: 60px 0 40px; }
}
