:root {
  --bg: #f9f9f9;
  --card: #ffffff;
  --border: #e0e0e0;
  --text: #333333;
  --muted: #666666;
  --link: #1a73e8;
  --accent: #4285f4;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --btn-bg: #1a73e8;
  --btn-hover: #0d65d6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 15px;
}

.header {
  text-align: center;
  margin-bottom: 32px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 16px;
}

.nav a {
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
}

.nav a:hover {
  text-decoration: underline;
}

.main-flex {
  display: flex;
  gap: 32px;
  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: 24px;
}

@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: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  text-align: center;
}

.benefits-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .benefits-flex { grid-template-columns: repeat(3, 1fr); }
}

.benefit-block {
  background: #f0f4f8;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  font-weight: 600;
}

.form-aside {
  flex: 1.2;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  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: 16px 0 6px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.form-button {
  background: var(--btn-bg);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  transition: background 0.2s;
}

.form-button:hover {
  background: var(--btn-hover);
}

.payment-note {
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  background: #f0f4f8;
  padding: 12px;
  border-radius: 8px;
}

details {
  margin-bottom: 16px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--link);
}

ul.muted {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

footer {
  text-align: center;
  padding: 40px 20px 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}