:root {
  --text-primary: #162136;
  --text-secondary: #4d5f78;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(19, 36, 66, 0.14);
  --accent: #1a73e8;
  --accent-strong: #0e5dc6;
  --chip: rgba(26, 115, 232, 0.12);
  --shadow-soft: 0 14px 34px rgba(12, 22, 45, 0.16);
  --shadow-card: 0 10px 24px rgba(12, 22, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text-primary);
  position: relative;
  min-height: 100vh;
}

.page-background,
.page-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-background {
  background: url("../assets/branding/banner.png") center center / cover no-repeat;
  z-index: -3;
}

.page-overlay {
  background:
    linear-gradient(130deg, rgba(247, 250, 255, 0.92), rgba(245, 249, 255, 0.9)),
    radial-gradient(circle at 15% 0%, rgba(26, 115, 232, 0.2), transparent 35%),
    radial-gradient(circle at 92% 5%, rgba(0, 176, 155, 0.14), transparent 34%);
  backdrop-filter: blur(1.2px);
  z-index: -2;
}

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

.top-bar {
  margin-top: 1.2rem;
  padding: 0.68rem 0.9rem;
  border-radius: 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-inline strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 0.7rem;
  border: 1px solid rgba(14, 35, 66, 0.16);
  background: rgba(255, 255, 255, 0.95);
}

.top-action {
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.3);
}

.hero-surface {
  margin-top: 1rem;
  padding: clamp(1.3rem, 2.9vw, 2.1rem);
  border-radius: 1.2rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b82f6;
  font-weight: 800;
}

.hero-surface h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.hero-text {
  margin: 0.75rem 0 0;
  max-width: 760px;
  color: var(--text-secondary);
  line-height: 1.62;
  font-size: clamp(0.98rem, 2.1vw, 1.06rem);
}

.products-section {
  margin-top: 1.2rem;
  margin-bottom: 1.9rem;
  padding: 1.1rem;
  border-radius: 1.2rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.section-header p {
  margin: 0.45rem 0 0;
  color: var(--text-secondary);
  line-height: 1.56;
}

.product-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
  display: grid;
  gap: 0.72rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 115, 232, 0.42);
  box-shadow: 0 14px 28px rgba(17, 34, 66, 0.2);
}

.product-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-icon {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid rgba(17, 39, 74, 0.16);
}

.product-name {
  margin: 0;
  font-size: 1.02rem;
}

.product-tagline {
  margin: 0.14rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-desc {
  margin: 0;
  color: #2f4667;
  line-height: 1.53;
  font-size: 0.94rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.product-meta {
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  background: var(--chip);
  color: #1b5fc6;
}

.product-action {
  font-size: 0.84rem;
  font-weight: 800;
  color: #1d67d5;
}

.site-footer {
  padding-bottom: 1.6rem;
}

.site-footer p {
  margin: 0;
  color: rgba(21, 35, 58, 0.7);
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .container {
    width: min(1100px, calc(100% - 1.1rem));
  }

  .top-bar {
    flex-wrap: wrap;
  }

  .top-action {
    width: 100%;
    text-align: center;
  }
}
