:root {
  --bg: #f5f8fa;
  --card: #ffffff;
  --border: #d1e0e8;
  --text: #2c3e50;
  --muted: #7f8c9d;
  --link: #2980b9;
  --accent: #3498db;
  --shadow: 0 6px 18px rgba(0,0,0,0.07);
  --btn-bg: #2980b9;
  --btn-hover: #1f6391;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
}

.nav a:hover {
  text-decoration: underline;
}

.main-flex {
  display: flex;
  gap: 40px;
  flex-direction: column;
}

@media (min-width: 992px) {
  .main-flex { flex-direction: row; }
}

.products-section {
  flex: 3;
}

.products-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .products-flex { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .products-flex { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-icon {
  font-size: 4.2rem;
  margin-bottom: 16px;
  text-align: center;
}

.benefits-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 48px 0;
}

@media (min-width: 768px) {
  .benefits-flex { grid-template-columns: repeat(3, 1fr); }
}

.benefit-block {
  background: #e8f4fd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: 600;
}

.form-aside {
  flex: 1.3;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.muted { color: var(--muted); }

a { color: var(--link); text-decoration: none; }

a:hover { text-decoration: underline; }

form label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.05rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}

.form-button {
  background: var(--btn-bg);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  width: 100%;
  transition: background 0.2s;
}

.form-button:hover {
  background: var(--btn-hover);
}

.payment-note {
  margin-top: 24px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  background: #e8f4fd;
  padding: 14px;
  border-radius: 8px;
}

details {
  margin-bottom: 18px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--link);
}

ul.muted {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}

footer {
  text-align: center;
  padding: 48px 20px 24px;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}