/* x-NUM · Plant-Based Home Care — minimal editorial style */
:root {
  --white: #FFFFFF;
  --paper: #FBFCFA;
  --green: #7B8F78;
  --green-deep: #5E7159;
  --green-pale: #EEF2EA;
  --ink: #3A3B38;
  --muted: #8A8D86;
  --line: #E7EAE3;
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
section[id], footer[id] { scroll-margin-top: 74px; }

/* Navigation */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 234, 227, 0.9);
}
.nav-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 34px; width: auto; }
.brand-word { font-size: 18px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a {
  position: relative; padding: 8px 0; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); transition: color 0.25s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px;
  background: var(--green-deep); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-deep); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 40px; height: 40px; border: none; background: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; margin: 6px 0; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: 720px; padding: 140px 0 110px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFA 100%);
}
.hero-texture {
  position: absolute; right: -3%; top: 50%; transform: translateY(-50%);
  width: min(48vw, 640px); aspect-ratio: 1 / 1;
  background: url("../assets/leaf-pattern.svg") no-repeat center / contain;
  opacity: 0.85; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.eyebrow { margin: 0 0 28px; font-size: 11px; letter-spacing: 0.32em; color: var(--green); text-transform: uppercase; }
.hero h1 {
  margin: 0; font-size: clamp(44px, 6.2vw, 82px); line-height: 1.16;
  font-weight: 400; letter-spacing: -0.02em; color: var(--ink);
}
.hero h1 span { color: var(--green-deep); }
.hero-slogan-cn { margin: 26px 0 0; font-size: 14px; letter-spacing: 0.3em; color: var(--muted); }
.hero-sub { margin: 18px 0 42px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.btn-outline {
  display: inline-block; padding: 15px 40px; border: 1px solid var(--green);
  color: var(--green-deep); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-outline:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.hero-index {
  position: absolute; right: 48px; bottom: 34px; font-size: 11px;
  letter-spacing: 0.2em; color: var(--muted);
}

/* Core logic */
.logic { padding: 130px 0; background: var(--white); }
.logic-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logic-item { display: flex; gap: 34px; padding: 66px 52px; }
.logic-item + .logic-item { border-left: 1px solid var(--line); }
.logic-symbol { flex: none; font-size: 76px; line-height: 0.9; font-weight: 300; color: var(--green); opacity: 0.5; }
.logic-kicker { margin: 0 0 20px; font-size: 11px; letter-spacing: 0.26em; color: var(--green); }
.logic-kicker span { margin-left: 10px; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.logic-text h2 { margin: 0 0 20px; font-size: 25px; font-weight: 400; letter-spacing: 0.01em; }
.logic-text p:last-child { margin: 0; font-size: 15px; line-height: 2; color: var(--muted); }

/* Products */
.products { padding: 130px 0; background: var(--paper); }
.section-head { max-width: 660px; margin: 0 auto 70px; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 44px); font-weight: 400; line-height: 1.35; }
.section-intro { margin: 0; font-size: 15px; line-height: 1.9; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 40px; max-width: 1000px; margin: 0 auto; }
.product-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(90, 110, 85, 0.09); }
.product-image { aspect-ratio: 1 / 1; overflow: hidden; background: var(--green-pale); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-image img { transform: scale(1.03); }
.product-body { position: relative; padding: 34px 36px 40px; }
.product-index { position: absolute; top: 22px; right: 36px; margin: 0; font-size: 12px; letter-spacing: 0.14em; color: var(--green); opacity: 0.7; }
.product-body h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; line-height: 1.5; }
.product-cn { margin: 0 0 20px; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.product-desc { margin: 0; font-size: 14px; line-height: 1.9; color: var(--muted); }

/* Philosophy */
.philosophy { padding: 140px 0 150px; background: var(--white); text-align: center; }
.philosophy-inner { max-width: 780px; }
.philosophy .eyebrow { margin-bottom: 24px; }
.philosophy h2 { margin: 0 0 48px; font-size: clamp(32px, 4.6vw, 50px); font-weight: 400; line-height: 1.4; }
.philosophy-copy { text-align: left; }
.philosophy-copy p { margin: 0 0 24px; font-size: 16px; line-height: 2.1; color: #5F615C; }
.philosophy-copy strong { font-weight: 600; color: var(--green-deep); }
.philosophy-cn { margin: 42px 0 0; font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }

/* Footer */
.site-footer { padding: 36px 0; background: #F7F8F5; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.footer-contact a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; transition: color 0.25s ease; }
.footer-contact a:hover { color: var(--green); }
.footer-links { display: flex; gap: 30px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-texture { right: -10%; opacity: 0.45; }
  .logic { padding: 100px 0; }
  .logic-grid { grid-template-columns: 1fr; }
  .logic-item { padding: 52px 40px; }
  .logic-item + .logic-item { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  section[id], footer[id] { scroll-margin-top: 64px; }
  .nav-inner { height: 64px; }
  .brand-logo { height: 30px; }
  .brand-word { font-size: 16px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .main-nav a::after { display: none; }
  .hero { min-height: 0; padding: 110px 0 96px; }
  .hero-texture { right: -28%; top: 22%; transform: none; width: 95vw; opacity: 0.22; }
  .hero h1 { font-size: clamp(36px, 9.5vw, 54px); }
  .hero-slogan-cn { font-size: 12px; letter-spacing: 0.22em; }
  .hero-sub { font-size: 14px; margin-bottom: 34px; }
  .hero-index { display: none; }
  .logic, .products { padding: 90px 0; }
  .logic-item { padding: 44px 26px; gap: 22px; }
  .logic-symbol { font-size: 58px; }
  .section-head { margin-bottom: 48px; }
  .product-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-body { padding: 28px 26px 34px; }
  .product-body h3 { font-size: 19px; }
  .philosophy { padding: 90px 0; }
  .philosophy h2 { margin-bottom: 36px; }
  .philosophy-copy p { font-size: 15px; line-height: 2; }
  .footer-inner { flex-direction: column; text-align: center; gap: 14px; }
  .footer-links { justify-content: center; gap: 22px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 34px; }
  .btn-outline { padding: 13px 28px; }
  .logic-item { padding: 38px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
