/* Базовые стили */
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #a855f7 100%);
  color: #0f172a;
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
}

/* Декоративные свечения */
.glow-bottom {
  position: absolute;
  inset: auto auto 10% -10%;
  width: 420px;
  height: 420px;
  background: #ffffff40;
  border-radius: 999px;
  filter: blur(70px);
}

.glow-top {
  position: absolute;
  inset: -15% -10% auto auto;
  width: 520px;
  height: 520px;
  background: #ffffff22;
  border-radius: 999px;
  filter: blur(90px);
}

/* Контейнер */
main {
  width: 100%;
  max-width: 1000px;
  padding: 36px 32px;
  z-index: 1;
}

/* Шапка */
header {
  text-align: center;
  margin-bottom: 48px;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #818cf8);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.logo-icon span {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.25);
}

header p {
  margin: 0;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

/* Сетка карточек */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Карточки продуктов */
.product-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.product-icon span {
  font-size: 28px;
}

.product-icon.blue-purple {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.product-icon.purple-pink {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.product-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.product-card p {
  margin: 0 0 20px;
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}

/* Теги */
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.tag.blue {
  background: rgba(14, 165, 233, 0.15);
  color: #0369a1;
}

.tag.indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #4338ca;
}

.tag.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #7e22ce;
}

.tag.pink {
  background: rgba(236, 72, 153, 0.15);
  color: #be185d;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.btn.blue-purple {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn.blue-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn.purple-pink {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
}

.btn.purple-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

/* Футер */
footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

footer p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

