/* ===== LIUJIANG.LTD — Global Styles ===== */
:root {
  --blue: #0e9bd8;
  --blue-dark: #0779aa;
  --blue-deep: #055a80;
  --text: #1a1a2e;
  --muted: #5a6275;
  --bg-light: #f4f8fc;
  --white: #ffffff;
  --border: #dde6ef;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(14,155,216,.12);
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

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

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(14,155,216,.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 44px; width: auto; }

nav { display: flex; gap: 4px; align-items: center; }

nav a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

nav a:hover, nav a.active {
  background: var(--blue);
  color: var(--white);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover { background: var(--blue-dark) !important; }

.lang-switch {
  padding: 6px 14px !important;
  border: 1.5px solid var(--blue) !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--blue) !important;
  margin-left: 8px;
  transition: all var(--transition);
}
.lang-switch:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}

/* Hamburger & header-right */
.header-right { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 60%, #38c6f5 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.btn-white:hover { box-shadow: 0 8px 30px rgba(0,0,0,.2); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}

.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 8px 30px rgba(14,155,216,.35); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--blue-deep);
  color: var(--white);
  padding: 28px 24px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #7edcf8;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  opacity: .8;
  margin-top: 4px;
}

/* ===== SECTION ===== */
section { padding: 80px 24px; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: rgba(14,155,216,.1);
  color: var(--blue-dark);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(14,155,216,.15);
}

.product-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
}

.product-card-body { padding: 24px; }

.product-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-card .price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--transition);
}

.card-link:hover { gap: 10px; }

/* ===== PRODUCT LIST PAGE ===== */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.pl-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pl-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(14,155,216,.15); }

.pl-card img { width: 100%; height: 200px; object-fit: cover; }

.pl-card-body { padding: 18px; }

.pl-card-body h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }

.pl-card-body .price { color: var(--blue-dark); font-weight: 700; font-size: 15px; margin-bottom: 10px; }

.pl-card .btn-sm {
  display: inline-block;
  padding: 7px 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}

.pl-card .btn-sm:hover { background: var(--blue-dark); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: .9; max-width: 560px; margin: 0 auto; }

/* ===== FEATURE STRIP ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ===== BRAND BADGE ===== */
.brand-badge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.brand-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 18px 28px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  background: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(14,155,216,.08);
  transition: transform .2s, box-shadow .2s;
}
.brand-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14,155,216,.18);
}
.brand-badge span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ===== FACTORY SECTION ===== */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.factory-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.factory-images img {
  border-radius: 10px;
  height: 190px;
  object-fit: cover;
  width: 100%;
}

.factory-images img:first-child {
  grid-column: span 2;
  height: 240px;
}

.factory-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; }
.factory-text p { color: var(--muted); margin-bottom: 16px; }
.factory-text ul { list-style: none; margin-bottom: 28px; }
.factory-text ul li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; }
.factory-text ul li::before { content: '✓'; color: var(--blue); font-weight: 800; font-size: 16px; flex-shrink: 0; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 1.05rem; opacity: .9; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14,155,216,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--blue);
}

.contact-item-text strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.contact-item-text a { color: var(--blue-dark); font-weight: 600; }
.contact-item-text a:hover { text-decoration: underline; }

.contact-form { background: var(--bg-light); border-radius: 16px; padding: 40px; border: 1px solid var(--border); }
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  color: var(--text);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,155,216,.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

/* ===== BRAND COMPATIBILITY BAR ===== */
.compat-bar {
  background: linear-gradient(135deg, #0779aa 0%, #0e9bd8 50%, #38bdf8 100%);
  padding: 38px 0;
  position: relative;
  overflow: hidden;
}

.compat-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.compat-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
}

.compat-label {
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}

.compat-label::before,
.compat-label::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,.35);
}

.compat-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.compat-brands span {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 24px;
  border-right: 1px solid rgba(255,255,255,.25);
  line-height: 1.2;
  letter-spacing: .02em;
  transition: opacity .2s;
  opacity: .92;
}

.compat-brands span:hover { opacity: 1; }

.compat-brands span:last-child,
.compat-others {
  border-right: none !important;
  opacity: .5 !important;
  font-weight: 400 !important;
  font-style: italic;
  font-size: 13px !important;
}

/* ===== ABOUT PAGE ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-intro img { border-radius: 16px; width: 100%; height: 380px; object-fit: cover; }

/* ===== PAGE HERO INNER ===== */
.page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-images img {
  border-radius: 10px;
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.detail-images img:first-child {
  grid-column: span 2;
  height: 260px;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  margin: 0 0 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

.feature-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.spec-box {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
}

.spec-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th {
  background: var(--blue-deep);
  color: var(--white);
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.spec-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: rgba(14,155,216,.04); }

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

@media (max-width: 640px) {
  .detail-images { grid-template-columns: 1fr; }
  .detail-images img:first-child { grid-column: span 1; height: 220px; }
}

/* ===== FOOTER ===== */
footer {
  background: #0d1b2a;
  color: rgba(255,255,255,.75);
  padding: 60px 24px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: .75; }

.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; opacity: .75; transition: opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--white); }

.footer-contact p { font-size: 14px; opacity: .75; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  opacity: .6;
}

.footer-bottom p { margin: 4px 0; }
.footer-bottom a { opacity: 1; color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--white); }
.beian { font-size: 12px; opacity: .5; }
.beian a { font-size: 12px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-light);
  padding: 12px 24px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .factory-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; border-bottom: 2px solid var(--blue); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  nav.open { display: flex; }
  nav a { border-radius: 8px; }
  .hamburger { display: flex; }
  section { padding: 56px 20px; }
  .hero { padding: 72px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .factory-images img:first-child { grid-column: span 2; height: 180px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
}
