:root {
  --deep-space-gray: #1a1a1a;
  --mist-white: #f7f7f7;
  --light-cyan-gray: #90a3a4;
  --thin-light-gold: #d4b98c;
  --light-silver-gray: #c9c9c9;
  --panel: #ffffff;
  --line: #e4e4e4;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(26, 26, 26, 0.07);
  --shadow-hover: 0 18px 40px rgba(26, 26, 26, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--deep-space-gray);
  background: radial-gradient(circle at 18% 0%, #fbfbfb 0%, var(--mist-white) 46%);
  letter-spacing: 0.2px;
  line-height: 1.75;
  opacity: 0;
  transition: opacity 0.32s ease;
}

body.page-ready {
  opacity: 1;
}

body.page-leaving {
  opacity: 0;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 247, 0.88);
  backdrop-filter: blur(9px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.top-nav.scrolled {
  background: rgba(247, 247, 247, 0.97);
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.05);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  text-decoration: none;
  color: var(--deep-space-gray);
  font-size: 13px;
  letter-spacing: 2px;
}

.logo strong {
  color: var(--thin-light-gold);
  font-weight: 400;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--deep-space-gray);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--deep-space-gray);
  font-size: 13px;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--light-cyan-gray);
}

main {
  padding: 46px 0 76px;
}

.hero-card,
.section-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
}

.hero-main {
  padding: clamp(30px, 5vw, 62px);
  position: relative;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(144, 163, 164, 0.09), rgba(212, 185, 140, 0.08), rgba(255, 255, 255, 0));
}

.kicker {
  color: var(--light-cyan-gray);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 10px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 300;
  color: var(--deep-space-gray);
}

.hero-sub {
  margin-top: 14px;
  font-size: clamp(16px, 2.2vw, 24px);
  color: var(--thin-light-gold);
}

.hero-desc {
  margin-top: 18px;
  max-width: 560px;
  color: #4c4c4c;
  font-size: 14px;
}

.tag-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  background: rgba(255, 255, 255, 0.76);
  padding: 7px 14px;
  font-size: 12px;
  color: #595959;
}

.action-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-side {
  min-height: 440px;
  position: relative;
}

.hero-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(70%) contrast(92%) brightness(0.98);
}

.hero-side .caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #efefef;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  font-size: 13px;
}

.section-head {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: 1px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.lead {
  font-size: 14px;
  max-width: 440px;
  color: #555;
}

.section-card {
  padding: 26px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(144, 163, 164, 0.15);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(144, 163, 164, 0.38);
}

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.card p {
  color: #5e5e5e;
  font-size: 14px;
}

.image-card {
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(72%) contrast(92%) brightness(0.98);
}

.image-card .card-body {
  padding: 16px;
}

.toolbar {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.chip {
  border: 1px solid #d4d8d8;
  border-radius: 999px;
  background: #fff;
  padding: 8px 13px;
  font-size: 13px;
  color: #5b5b5b;
  cursor: pointer;
}

.chip:hover,
.chip.active {
  background: var(--light-cyan-gray);
  border-color: var(--light-cyan-gray);
  color: #fff;
}

.search-input {
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  min-width: 240px;
  max-width: 100%;
}

.meta {
  font-size: 12px;
  color: var(--light-silver-gray);
  margin: 6px 0;
}

.btn {
  display: inline-block;
  border: 1px solid #d5ddde;
  background: #fff;
  color: var(--deep-space-gray);
  text-decoration: none;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.btn:hover {
  background: var(--light-cyan-gray);
  color: #fff;
}

.btn.tap {
  animation: tapPulse 0.18s ease;
}

@keyframes tapPulse {
  0% { transform: translateX(0); }
  30% { transform: translateX(-1px); }
  70% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.compare-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid #efefef;
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
}

th {
  background: #f6f6f6;
}

.form-group {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #565656;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback {
  margin-top: 8px;
  font-size: 13px;
  color: var(--light-cyan-gray);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feedback.show {
  opacity: 1;
}

footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 30px 0 42px;
  color: var(--light-silver-gray);
  font-size: 12px;
}

@media (max-width: 1199px) {
  .container {
    width: min(1200px, 93%);
  }

  .hero-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .menu-btn {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--mist-white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-side {
    min-height: 300px;
  }

  .search-input {
    min-width: 100%;
  }
}
