:root {
  --page: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9dee7;
  --brand: #131921;
  --brand-light: #232f3e;
  --accent: #ff9900;
  --accent-dark: #d87800;
  --focus: rgba(255, 153, 0, 0.24);
  --shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
}

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

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--brand);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar {
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  color: #ffffff;
  font-size: clamp(20px, 3vw, 25px);
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 8px;
  color: #eef2f7;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.page-shell {
  padding-block: 34px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  min-height: 430px;
}

.hero-content {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 153, 0, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 58%, #eef3f8 100%);
  box-shadow: var(--shadow);
}

.hero-content::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(35, 47, 62, 0.07);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-content p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #ffb84d, var(--accent));
  border-color: #d88400;
  color: #1f2937;
  box-shadow: 0 8px 18px rgba(255, 153, 0, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffad2e, var(--accent-dark));
}

.btn-outline {
  background: #ffffff;
  border-color: #c5ccd8;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: #9aa4b2;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.055);
}

.advantage-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.advantage-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.advantage-card p {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: #273244;
  font-weight: 700;
}

.advantage-card p:last-child,
.brand-card p,
.footer-inner p:last-child {
  margin-bottom: 0;
}

.section {
  margin-top: 56px;
  scroll-margin-top: 92px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  overflow: hidden;
  min-height: 92px;
  color: #1f2937;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.category-card:hover,
.category-card.is-open,
.product:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 153, 0, 0.72);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.1);
}

.category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 92px;
  padding: 24px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.category-title {
  font-size: 19px;
  font-weight: 800;
}

.category-arrow {
  width: 12px;
  height: 12px;
  margin-left: 18px;
  border-right: 2px solid #5f6b7a;
  border-bottom: 2px solid #5f6b7a;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.category-card.is-open .category-arrow {
  transform: rotate(225deg);
}

.category-description {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
}

.category-card.is-open .category-description {
  max-height: 160px;
  border-color: var(--line);
  opacity: 1;
  transform: translateY(0);
}

.category-description p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product {
  display: flex;
  content-visibility: auto;
  contain-intrinsic-size: 1px 380px;
  min-height: 100%;
  flex-direction: column;
  padding: 16px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.product-media img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.product strong {
  display: block;
  min-height: 48px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
}

.product-action {
  width: 100%;
  margin-top: 16px;
}

.brand-card {
  padding: 26px;
  color: var(--muted);
  font-size: 17px;
}

.faq-section {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.faq-item.is-open {
  border-color: rgba(255, 153, 0, 0.72);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.09);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 20px 24px;
  border: 0;
  background: var(--surface);
  color: #111827;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: var(--surface-soft);
}

.faq-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-left: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #5f6b7a;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 180px;
  border-color: var(--line);
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.site-footer {
  margin-top: 70px;
  background: var(--brand);
  color: #d7dde6;
}

.footer-inner {
  padding-block: 28px;
  text-align: center;
}

.footer-inner p {
  margin-bottom: 7px;
}

@media (max-width: 960px) {
  .hero,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-media {
    min-height: 230px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 14px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .page-shell {
    padding-top: 22px;
  }

  .hero-content,
  .advantage-card,
  .brand-card {
    padding: 22px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .section {
    margin-top: 42px;
  }
}
