/* =============================================
   LIYU FOODTECH — Global Stylesheet
   Palette: Steel Dark / Cold White / Industrial Orange
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:          #1C1F24;
  --bg-2:        #23272E;
  --bg-3:        #2C3038;
  --white:       #F0F2F4;
  --white-dim:   #9DA5B0;
  --orange:      #E8621A;
  --orange-dim:  #C0501200;
  --border:      rgba(240,242,244,0.08);
  --radius:      4px;
  --transition:  0.25s ease;
}

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

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1.display { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2.display { font-size: clamp(2rem, 4vw, 3.2rem); }
h3.display { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.body-lg  { font-size: 1.1rem; line-height: 1.7; color: var(--white-dim); }
.body-sm  { font-size: 0.875rem; color: var(--white-dim); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-header .eyebrow { margin-bottom: 16px; }
.section-header p { margin-top: 16px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: #d4581a; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(240,242,244,0.3);
  background: rgba(240,242,244,0.05);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(28,31,36,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-dim);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { margin-left: 16px; padding: 10px 20px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(28,31,36,0.97) 40%, rgba(232,98,26,0.08) 100%),
    url('https://ilrorwxhkpqqlp5m.ldycdn.com/cloud/lqBpiKqrljSRolkriinikn/1.jpeg') center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-content .eyebrow { margin-bottom: 24px; }
.hero-content h1 { margin-bottom: 28px; }
.hero-content .body-lg { max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Pipeline line — signature element */
.hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bg-3);
  z-index: 3;
}
.hero-line-fill {
  height: 100%;
  width: 0;
  background: var(--orange);
  animation: pipeline 2.4s cubic-bezier(0.4,0,0.2,1) forwards 0.4s;
}
@keyframes pipeline {
  to { width: 100%; }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--white-dim); margin-top: 6px; }

/* ── Products ── */
.products { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.product-card {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-card:hover .product-overlay { opacity: 1; }
.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,98,26,0.12);
  opacity: 0;
  transition: var(--transition);
}
.product-info {
  padding: 24px;
  border-top: 2px solid transparent;
  transition: border-color var(--transition);
}
.product-card:hover .product-info { border-color: var(--orange); }
.product-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.product-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-desc { font-size: 0.83rem; color: var(--white-dim); line-height: 1.5; }
.product-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.product-card:hover .product-arrow { opacity: 1; transform: translateX(0); }

/* ── Buyers Section ── */
.buyers { background: var(--bg-2); }
.buyers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.buyer-card {
  background: var(--bg-3);
  padding: 40px 32px;
  border-top: 3px solid transparent;
  transition: var(--transition);
}
.buyer-card:hover { border-color: var(--orange); }
.buyer-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(232,98,26,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.buyer-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.buyer-card p { font-size: 0.875rem; color: var(--white-dim); line-height: 1.65; }

/* ── Why Us ── */
.why-us { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-visual {
  position: relative;
}
.why-visual-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.why-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  padding: 20px 24px;
  border-radius: var(--radius);
}
.why-badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.why-badge-label { font-size: 0.78rem; font-weight: 500; margin-top: 4px; }
.why-list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 20px; }
.why-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 6px;
}
.why-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.why-item p { font-size: 0.875rem; color: var(--white-dim); }

/* ── Certifications ── */
.certs { background: var(--bg-2); padding: 64px 0; }
.certs-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.certs-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  flex-shrink: 0;
}
.certs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cert-tag {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-dim);
  transition: var(--transition);
}
.cert-tag:hover { border-color: var(--orange); color: var(--orange); }

/* ── Solutions ── */
.solutions { background: var(--bg); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.solution-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
}
.solution-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.solution-card:hover img { transform: scale(1.05); }
.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,31,36,0.92) 0%, rgba(28,31,36,0.2) 60%);
}
.solution-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
}
.solution-content .eyebrow { margin-bottom: 8px; }
.solution-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.solution-content p { font-size: 0.85rem; color: var(--white-dim); margin-top: 8px; }

/* ── CTA ── */
.cta-section {
  background: var(--orange);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
}
.cta-text p { color: rgba(255,255,255,0.8); margin-top: 8px; font-size: 1rem; }
.btn-white {
  background: #fff;
  color: var(--orange);
  font-weight: 700;
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 10px 18px 10px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: var(--transition);
  white-space: nowrap;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
.wa-btn svg { flex-shrink: 0; }
.wa-label-sub { font-size: 0.7rem; font-weight: 400; opacity: 0.85; }

/* ── Footer ── */
footer {
  background: #13151A;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 1.6rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: var(--white-dim); max-width: 260px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--white-dim); transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-address { font-size: 0.82rem; color: var(--white-dim); line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--white-dim); }

/* ── Mobile ── */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--bg-2);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-mobile a {
    font-size: 1.4rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: var(--white-dim);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; padding: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .buyers-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-badge { bottom: -16px; right: 16px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { gap: 1px; }
  .wa-btn span.wa-label-sub { display: none; }
}
