:root {
  --primary: #2c3e66;
  --primary-dark: #1f2b4b;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --surface-muted: #eef1f7;
  --text: #111827;
  --muted: #6b7280;
  --border: #d7dbe4;
  --shadow: 0 24px 80px rgba(44, 62, 102, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface-soft);
  color: var(--text);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(219, 224, 236, 0.85);
}

.site-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--primary);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  font-weight: 600;
  color: #4b5563;
  transition: color 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  border-radius: 14px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid rgba(44, 62, 102, 0.12);
}

.hero {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  padding: 100px 0;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,62,102,0.65) 0%, rgba(44,62,102,0.88) 60%, rgba(44,62,102,0.95) 100%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  text-align: center;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero p {
  margin: 28px auto 0;
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.87);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.button,
.button-secondary,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button {
  background: var(--primary);
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
  background: #1c2a46;
}

.button-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}

.section {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 2.45rem;
  line-height: 1.05;
}

.section-copy {
  max-width: 720px;
  color: #475569;
  line-height: 1.8;
  font-size: 1rem;
}

.grid-3,
.grid-2,
.grid-6,
.product-grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 28px;
  border: 1px solid rgba(219,224,236,0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 28px;
}

.category-card {
  display: grid;
  gap: 18px;
  min-height: 280px;
}

.category-card .icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(44,62,102,0.08);
  color: var(--primary);
  font-size: 1.35rem;
}

.category-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.category-card p {
  margin: 0;
  color: #5b6677;
  line-height: 1.75;
}

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(44,62,102,0.12), rgba(44,62,102,0.06));
  border: 1px solid rgba(44,62,102,0.08);
}

.cta-bar h2,
.cta-bar p {
  margin: 0;
}

.feature-list {
  display: grid;
  gap: 20px;
}

.feature-card {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(219,224,236,0.95);
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(44,62,102,0.08);
  color: var(--primary);
  font-size: 1.4rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: #5b6677;
  line-height: 1.75;
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.filter-button {
  background: var(--surface);
  border: 1px solid rgba(219,224,236,0.9);
  color: #475569;
}

.filter-button.active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(219,224,236,0.9);
  box-shadow: 0 20px 45px rgba(44,62,102,0.08);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(44,62,102,0.18);
}

.product-card .product-image {
  height: 260px;
  overflow: hidden;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-card .product-meta {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.product-card .product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.product-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
}

.product-card p {
  margin: 0;
  color: #65748b;
  line-height: 1.72;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 24px;
}

.product-footer .price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.product-footer .buy {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(44,62,102,0.08);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.about-copy p {
  color: #475569;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.stat-card {
  padding: 26px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(219,224,236,0.9);
  text-align: center;
}

.stat-card h3 {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 2rem;
}

.stat-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
}

.contact-card,
.form-card {
  background: var(--surface);
  border-radius: 28px;
  border: 1px solid rgba(219,224,236,0.95);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-card p,
.contact-card a {
  color: #475569;
  line-height: 1.75;
}

.contact-card strong {
  display: block;
  margin-top: 18px;
  color: var(--primary);
}

.contact-card .contact-item {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.form-card form {
  display: grid;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(219,224,236,0.9);
  border-radius: 18px;
  padding: 16px 18px;
  background: #f8fafc;
  color: var(--text);
}

.form-field textarea {
  min-height: 168px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  border-radius: 18px;
  padding: 16px 22px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.footer {
  background: #fff;
  border-top: 1px solid rgba(219,224,236,0.95);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 980px) {
  .grid-3,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
  }
  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    margin: 0;
    padding: 18px 24px 20px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    border-bottom: 1px solid rgba(219,224,236,0.95);
    box-shadow: 0 28px 60px rgba(44,62,102,0.08);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list a {
    padding: 14px 0;
    width: 100%;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 520px;
    padding: 80px 0;
  }
  .hero-content {
    padding: 0 14px;
  }
  .section-title {
    font-size: 2rem;
  }
  .product-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .contact-card,
  .form-card,
  .card-body,
  .feature-card,
  .category-card {
    padding: 24px;
  }
}
