/* ==========================================================================
   Qujing LiuChaoYou E-commerce Co., Ltd. — Main stylesheet
   Dark theme · near-black #0F120D · lime-yellow accent #A3E635
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #0F120D;
  --ink-soft: #161A11;
  --ink-raised: #1C2116;
  --line: #2A311E;
  --text: #EDF1E8;
  --text-muted: #B6C2A6;
  --text-dim: #87956F;
  --accent: #A3E635;
  --accent-strong: #84CC16;
  --accent-soft: #D9F99D;
  --white: #FFFFFF;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Seal-stamp navigation bar ---------- */
.seal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.seal-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.seal-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.seal-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 4px var(--accent-strong);
}

.seal-nav__wordmark {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}

.seal-nav__sub {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.seal-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.seal-nav__links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.seal-nav__links a:hover {
  color: var(--accent);
}

.seal-nav__cta {
  color: var(--ink) !important;
  background-color: var(--accent);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.seal-nav__cta:hover {
  color: var(--ink) !important;
  background-color: var(--accent-soft);
}

.seal-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.seal-nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--accent);
}

/* ---------- Hero — ridge layers ---------- */
.hero-ridge {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, #10140D 60%, var(--ink-soft) 100%);
  padding: 96px 24px 220px;
  min-height: 620px;
  display: flex;
  align-items: flex-start;
}

.hero-ridge__copy {
  position: relative;
  z-index: 5;
  max-width: 720px;
}

.hero-ridge__eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-ridge__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.accent-text {
  color: var(--accent);
}

.hero-ridge__lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-ridge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--solid {
  background-color: var(--accent);
  color: var(--ink);
}

.btn--solid:hover {
  background-color: var(--accent-soft);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Ridge silhouettes (mountain layers with angled tops) */
.hero-ridge__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 260px;
  z-index: 1;
  pointer-events: none;
}

.ridge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.ridge--back {
  height: 210px;
  background-color: var(--ink-soft);
  clip-path: polygon(0 72%, 8% 46%, 16% 62%, 26% 30%, 36% 58%, 46% 20%, 55% 52%, 66% 38%, 76% 60%, 86% 34%, 100% 70%, 100% 100%, 0 100%);
}

.ridge--mid {
  height: 180px;
  background-color: var(--ink-raised);
  clip-path: polygon(0 80%, 12% 52%, 22% 70%, 34% 40%, 45% 66%, 58% 28%, 70% 58%, 80% 44%, 92% 66%, 100% 50%, 100% 100%, 0 100%);
}

.ridge--front {
  height: 140px;
  background-color: #222A17;
  clip-path: polygon(0 84%, 14% 60%, 28% 76%, 42% 48%, 55% 72%, 68% 40%, 80% 68%, 92% 56%, 100% 76%, 100% 100%, 0 100%);
}

.ridge--fore {
  height: 90px;
  background-color: var(--accent-strong);
  clip-path: polygon(0 88%, 18% 68%, 36% 82%, 52% 58%, 68% 78%, 84% 64%, 100% 82%, 100% 100%, 0 100%);
}

/* ---------- Statement row (large full-width rows) ---------- */
.statement-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.statement-row__text {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 1000px;
}

.statement-row__mark {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  margin-right: 14px;
}

/* ---------- Section scaffolding ---------- */
.section-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 640px;
}

.section-head--light .section-title {
  color: var(--text);
}

/* ---------- Philosophy section ---------- */
.philosophy-section {
  padding: 88px 24px;
  background-color: var(--ink);
}

.philosophy-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-section__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.philosophy-point {
  background-color: var(--ink-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 24px;
}

.philosophy-point__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 14px;
}

.philosophy-point p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- Capabilities — numbered list ---------- */
.cap-section {
  background-color: var(--ink-soft);
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.num-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.num-list__item {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}

.num-list__item:first-child {
  border-top: none;
}

.num-list__index {
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  min-width: 56px;
}

.num-list__body h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.num-list__body p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 720px;
}

/* ---------- Method — comparison table ---------- */
.method-section {
  padding: 88px 24px;
  background-color: var(--ink);
}

.compare-table {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.compare-table__head,
.compare-table__row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
}

.compare-table__head {
  background-color: var(--ink-raised);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.compare-table__head span,
.compare-table__row span {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-table__head span:last-child,
.compare-table__row span:last-child {
  border-right: none;
}

.compare-table__row:last-child span {
  border-bottom: none;
}

.compare-table__stage {
  font-weight: 700;
  color: var(--text);
}

.compare-table__us {
  color: var(--accent);
  background-color: var(--ink-soft);
}

/* ---------- Industries — horizontal scroll row ---------- */
.industries-section {
  padding: 88px 0;
  background-color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 24px 24px;
  scroll-snap-type: x mandatory;
}

.scroll-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background-color: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  min-height: 180px;
}

.scroll-card__num {
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}

.scroll-card h3 {
  font-size: 20px;
  margin: 14px 0 10px;
}

.scroll-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Results — stat grid ---------- */
.results-section {
  padding: 88px 24px;
  background-color: var(--ink);
}

.stat-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background-color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.stat__value {
  color: var(--accent);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.stat__suffix {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.stat__label {
  display: block;
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 14px;
}

/* ---------- Quote slider ---------- */
.quote-slider {
  padding: 88px 24px;
  background-color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-slider__track {
  position: relative;
  min-height: 180px;
}

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.quote.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.quote p {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 20px;
}

.quote cite {
  color: var(--accent);
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
}

.quote-slider__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.quote-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quote-dot.active {
  background-color: var(--accent);
}

/* ---------- FAQ accordion ---------- */
.faq-section {
  padding: 88px 0;
  background-color: var(--ink);
}

.accordion {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  text-align: left;
  background-color: var(--ink-soft);
  color: var(--text);
  border: none;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion__trigger::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.accordion__item.open .accordion__trigger::after {
  content: "−";
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--ink);
}

.accordion__panel p {
  padding: 20px 24px;
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- Contact section ---------- */
.contact-section {
  padding: 88px 24px;
  background-color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.contact-section__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
}

.contact-list__k {
  color: var(--text-dim);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list a {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  background-color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form__note {
  color: var(--accent);
  font-size: 15px;
  min-height: 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 56px 24px 32px;
}

.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__brand p {
  color: var(--text-muted);
  font-size: 15px;
}

.seal-stamp--footer {
  width: 36px;
  height: 36px;
  font-size: 20px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__col h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.site-footer__col a {
  color: var(--text-muted);
  font-size: 15px;
}

.site-footer__col a:hover {
  color: var(--accent);
}

.site-footer__base {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .seal-nav__toggle {
    display: flex;
  }

  .seal-nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--ink);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 0;
  }

  .seal-nav.open .seal-nav__links {
    max-height: 400px;
  }

  .seal-nav__links a {
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }

  .seal-nav__cta {
    border-radius: 0;
  }

  .hero-ridge {
    padding: 72px 20px 180px;
  }

  .compare-table__head,
  .compare-table__row {
    grid-template-columns: 1fr 1fr;
  }

  .compare-table__head span:first-child,
  .compare-table__row span:first-child {
    display: none;
  }

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

  .philosophy-section__points {
    grid-template-columns: 1fr;
  }

  .contact-section__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .scroll-card {
    flex: 0 0 240px;
  }

  .compare-table__head span:nth-child(2),
  .compare-table__row span:nth-child(2) {
    display: none;
  }

  .compare-table__head,
  .compare-table__row {
    grid-template-columns: 1fr;
  }
}
