:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 35%, #ec4899 65%, #f97316 100%);
  --shadow: 0 10px 40px rgba(17, 24, 39, 0.08);
  --radius: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding: 3rem 0 2rem;
  text-align: center;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
}

.brand-name {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.products {
  padding: 2.5rem 0 4rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(17, 24, 39, 0.12);
}

.product-icon-wrap {
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem 1rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.product-icon {
  width: 7rem;
  height: 7rem;
  border-radius: 1.35rem;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}

.product-body {
  flex: 1;
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}

.product-name {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.product-category {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c3aed;
  background: #f3e8ff;
  border-radius: 999px;
}

.product-category.utility {
  color: #2563eb;
  background: #dbeafe;
}

.product-summary {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: var(--surface);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

.page-main {
  padding: 2.5rem 0 4rem;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.page-card h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
}

.page-meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.page-content {
  margin-top: 1.5rem;
  color: #374151;
}

.page-content h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
}

.page-content p {
  margin: 0.5rem 0 0;
}

.page-content a {
  color: #7c3aed;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.back-link:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin-inline: auto;
  }
}
