/* ===== Variables ===== */
:root {
  --color-bg: #faf8f5;
  --color-bg-dark: #1a1714;
  --color-surface: #ffffff;
  --color-text: #2c2825;
  --color-text-muted: #6b6560;
  --color-accent: #b8956a;
  --color-accent-light: #d4b896;
  --color-accent-dark: #8a6f4e;
  --color-border: #e8e2da;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --shadow-sm: 0 2px 8px rgba(26, 23, 20, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 23, 20, 0.1);
  --shadow-lg: 0 16px 64px rgba(26, 23, 20, 0.14);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__en {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text);
}

.logo__cn {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--transition);
  line-height: 1.2;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link--login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  padding: 0.52rem 0.85rem 0.48rem;
  min-height: 2rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  font-size: 0.85rem;
  box-sizing: border-box;
  vertical-align: middle;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.nav__link--login::after {
  display: none;
}

.nav__link--login:hover,
.nav__link--login.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  align-self: center;
}

.nav__link--login-alt {
  color: var(--color-text-muted);
  border-color: rgba(0, 0, 0, 0.12);
}

.nav__link--login-alt:hover {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(250, 248, 245, 0.7) 0%, rgba(250, 248, 245, 0.4) 50%, rgba(184, 149, 106, 0.15) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><linearGradient id="g" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%23e8dfd4"/><stop offset="100%25" style="stop-color:%23d4c4b0"/></linearGradient></defs><rect fill="url(%23g)" width="1440" height="900"/><circle cx="1100" cy="200" r="300" fill="%23b8956a" opacity="0.08"/><circle cx="300" cy="700" r="400" fill="%231a1714" opacity="0.04"/></svg>') center/cover;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 8rem 0 4rem;
  animation: fadeUp 1s ease-out;
}

.hero__tag {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero__title-cn {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero__title-en {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-accent-dark);
  letter-spacing: 0.1em;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Stats ===== */
.stats {
  background: var(--color-bg-dark);
  padding: 3.5rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-accent-light);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.6);
  letter-spacing: 0.1em;
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section__header {
  margin-bottom: 3.5rem;
}

.section__header--center {
  text-align: center;
}

.section__tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section__subtitle {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about__text strong {
  color: var(--color-accent-dark);
}

.about__features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about__icon {
  color: var(--color-accent);
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.about__features strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.about__features p {
  font-size: 0.9rem;
  margin: 0;
}

.about__visual {
  position: relative;
  height: 420px;
}

.about__card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
}

.about__card--main {
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  background: linear-gradient(145deg, #2c2825 0%, #4a433c 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.about__card--main h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-bg);
  line-height: 1.3;
  font-weight: 400;
}

.about__card-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-accent-light);
}

.about__card--accent {
  bottom: 0;
  right: 0;
  width: 55%;
  height: 45%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.about__card--accent p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-bg);
  text-align: center;
  line-height: 1.8;
}

/* ===== Brand ===== */
.brand {
  background: var(--color-surface);
}

.brand__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.brand__card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.brand__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.brand__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.brand__card:hover::before {
  transform: scaleX(1);
}

.brand__card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-border);
  margin-bottom: 1rem;
  font-weight: 400;
}

.brand__card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.brand__card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.brand__card strong {
  color: var(--color-accent-dark);
}

/* ===== Products ===== */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.product-card__image {
  height: 320px;
  position: relative;
  background: #e8e2da;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  transition: transform 0.5s ease;
}

.product-card__image--product img {
  object-position: center center;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
}

.product-card__body {
  padding: 1.75rem;
}

.product-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.product-card__body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-card__tag {
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ===== Stores ===== */
.stores {
  background: var(--color-bg-dark);
  color: var(--color-bg);
}

.stores .section__tag {
  color: var(--color-accent-light);
}

.stores .section__title {
  color: var(--color-bg);
}

.stores__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stores__desc {
  color: rgba(250, 248, 245, 0.7);
  margin: 1.5rem 0 2rem;
  line-height: 1.8;
}

.stores__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stores__cities li {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(184, 149, 106, 0.4);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--color-accent-light);
  transition: var(--transition);
}

.stores__cities li:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.stores__note {
  margin-top: 1.5rem;
  color: rgba(250, 248, 245, 0.6);
  font-size: 0.95rem;
}

.stores__note strong {
  color: var(--color-accent-light);
}

.stores__pos {
  margin-top: 0;
  border-color: rgba(250, 248, 245, 0.35);
  color: var(--color-accent-light);
}

.stores__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stores__pos:hover {
  background: rgba(250, 248, 245, 0.08);
  border-color: var(--color-accent-light);
  color: #fff;
}

.stores__map-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 50%, rgba(184, 149, 106, 0.15) 0%, transparent 70%);
  border: 1px solid rgba(184, 149, 106, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stores__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.stores__dot--1 { top: 20%; left: 55%; animation-delay: 0s; }
.stores__dot--2 { top: 35%; left: 70%; animation-delay: 0.4s; }
.stores__dot--3 { top: 50%; left: 45%; animation-delay: 0.8s; }
.stores__dot--4 { top: 60%; left: 60%; animation-delay: 1.2s; }
.stores__dot--5 { top: 40%; left: 35%; animation-delay: 1.6s; }

.stores__map-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(250, 248, 245, 0.3);
  font-style: italic;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__item {
  margin-bottom: 1.75rem;
}

.contact__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact__item p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact__item a {
  color: var(--color-text);
  transition: color var(--transition);
}

.contact__item a:hover {
  color: var(--color-accent);
}

.contact__info--solo {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.contact__info--solo .contact__item {
  margin-bottom: 1.5rem;
}

.contact__form {
  background: var(--color-bg);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.contact__form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-feedback {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
}

.form-feedback--visible {
  opacity: 1;
  transform: translateY(0);
}

.form-feedback--success {
  background: #f0f7f2;
  border-color: #c5dcc9;
  color: #2d5a38;
}

.form-feedback--error {
  background: #fdf3f2;
  border-color: #e8c4c0;
  color: #8b3a34;
}

.form-feedback--loading {
  background: #faf6ef;
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.form-feedback--loading::before {
  content: '';
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.5rem;
  border: 2px solid var(--color-accent-light);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  vertical-align: -0.15em;
  animation: form-spin 0.7s linear infinite;
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-surface);
  transition: border-color var(--transition);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  padding: 3rem 0 2rem;
  color: rgba(250, 248, 245, 0.6);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__brand .logo__en {
  color: var(--color-bg);
}

.footer__brand p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent-light);
}

.footer__copy {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.78);
  line-height: 1.6;
}

.footer__sep {
  margin: 0 0.45em;
  opacity: 0.7;
}

.footer__icp {
  color: rgba(250, 248, 245, 0.88);
  text-decoration: none;
}

.footer__icp:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about__grid,
  .stores__inner,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .brand__grid,
  .products__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about__visual {
    width: 100%;
    min-width: 0;
    height: auto;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .about__card {
    position: static;
  }

  .about__card--main {
    width: 100%;
    height: auto;
    min-height: 220px;
  }

  .about__card--accent {
    width: 100%;
    height: auto;
    min-height: 120px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .nav.open {
    right: 0;
  }

  .nav__actions {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav__link--login {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 4rem 0;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
