/* ================================================================
   TAILONG REDUCER — Guide Page Stylesheet
   Modern · Responsive · Bilingual-ready
   ================================================================ */

/* ── Design tokens ── */
:root {
  --red:        #c6001e;
  --red-dark:   #a5001a;
  --red-light:  rgba(198,0,30,.09);
  --navy:       #0d1b2a;
  --navy-2:     #152236;
  --white:      #ffffff;
  --bg:         #f3f5f8;
  --bg-card:    #ffffff;
  --text:       #111827;
  --text-2:     #4b5563;
  --text-3:     #9ca3af;
  --border:     #e5e7eb;
  --sh-sm:      0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --sh-md:      0 4px 18px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --r:          10px;
  --r-lg:       16px;
  --max:        1080px;
  --hh:         66px;
  --font:       "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont,
                "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--hh);
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.28);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  white-space: nowrap;
  line-height: 1;
}
.header-tagline {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-en);
  transition: background .18s, border-color .18s;
  flex-shrink: 0;
}
.lang-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); }
@media (max-width: 600px) {
  .header-tagline { display: none; }
  .logo img { height: 30px; }
  .logo-name { font-size: 15px; }
  .header-inner { padding: 0 16px; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(130deg, #0d1b2a 0%, #162840 55%, #1a3254 100%);
  color: #fff;
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 12% 60%, rgba(198,0,30,.16) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 88% 18%, rgba(255,255,255,.04) 0%, transparent 52%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(198,0,30,.18);
  border: 1px solid rgba(198,0,30,.35);
  color: #ff8a96;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(20px, 3.4vw, 33px);
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.hero-desc {
  font-size: clamp(13px, 1.8vw, 15px);
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.85;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: var(--r);
  box-shadow: 0 4px 14px rgba(198,0,30,.36);
  transition: background .18s, transform .15s, box-shadow .18s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(198,0,30,.42); }
.btn-secondary {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.22);
  transition: background .18s, transform .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
@media (max-width: 480px) {
  .hero { padding: 50px 20px 58px; }
  .btn-primary, .btn-secondary { padding: 10px 22px; font-size: 13.5px; }
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 18px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -.01em;
  margin-bottom: 3px;
  font-family: var(--font-en);
}
.stat-label {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.35;
}
@media (max-width: 600px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 0 16px; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-num { font-size: 19px; }
  .stat-item { padding: 14px 8px; }
}

/* ── Main ── */
.guide-main { flex: 1; }

/* ── Section inner ── */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) { .section-inner { padding: 0 16px; } }

/* ── Section head ── */
.section-head {
  padding: 44px 0 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.section-subtitle {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}
.section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  white-space: nowrap;
  transition: color .18s;
}
.section-link:hover { color: var(--red-dark); }

/* ── Entry cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 52px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 24px;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(198,0,30,.2);
}
.card:active { transform: translateY(-1px); }
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--red-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.card-icon svg { width: 28px; height: 28px; }
.card-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.card-desc { font-size: 12px; color: var(--text-3); line-height: 1.4; }
@media (max-width: 860px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .cards-grid { gap: 10px; padding-bottom: 40px; }
  .card { padding: 20px 12px 18px; }
  .card-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 12px; }
  .card-icon svg { width: 24px; height: 24px; }
  .card-title { font-size: 14px; }
  .card-desc { font-size: 11px; }
}

/* ── Products ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.product-category {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin-top: 8px;
}
.product-category:first-child { margin-top: 0; }
.category-badge {
  flex-shrink: 0;
  width: 3px;
  height: 30px;
  background: var(--red);
  border-radius: 2px;
}
.category-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.category-desc {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
  line-height: 1.4;
}
.product-item {
  display: block;
  background: var(--bg-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  aspect-ratio: 1;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.product-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: rgba(198,0,30,.22);
}
.product-item:active { transform: translateY(-1px); }
.product-item img { width: 100%; height: 100%; object-fit: cover; }
.products-more-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 0 52px;
}
.products-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--red);
  padding: 10px 26px;
  border: 1px solid rgba(198,0,30,.26);
  border-radius: var(--r);
  transition: background .18s, border-color .18s;
}
.products-more:hover { background: rgba(198,0,30,.04); border-color: var(--red); }
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-badge { height: 26px; }
  .category-name { font-size: 13px; }
  .category-desc { font-size: 10.5px; }
}
@media (max-width: 480px) {
  .products-grid { gap: 8px; }
  .product-category { padding: 10px 12px; gap: 10px; }
  .category-desc { display: none; }
}

/* ── About section ── */
.about-section {
  background: var(--navy);
  color: #fff;
  padding: 68px 24px;
}
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 14px;
  font-family: var(--font-en);
}
.about-title {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.32;
  color: #fff;
  margin-bottom: 18px;
}
.about-text {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255,255,255,.58);
  margin-bottom: 28px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r);
  transition: background .18s, border-color .18s;
}
.about-link:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.42); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 22px 18px;
  transition: background .2s;
}
.about-stat:hover { background: rgba(255,255,255,.07); }
.about-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 6px;
  font-family: var(--font-en);
}
.about-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.42);
  line-height: 1.4;
}
@media (max-width: 800px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-section { padding: 48px 20px; }
}
@media (max-width: 480px) {
  .about-section { padding: 40px 16px; }
  .about-stat-num { font-size: 22px; }
  .about-stat { padding: 16px 14px; }
}

/* ── Footer ── */
.site-footer {
  background: #080f18;
  color: rgba(255,255,255,.45);
  padding: 36px 24px;
  text-align: center;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-tel-label {
  font-size: 10.5px;
  color: rgba(255,255,255,.28);
  letter-spacing: .5px;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.footer-tel {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  font-family: var(--font-en);
  transition: color .18s;
}
.footer-tel:hover { color: #ff7a8a; }
.footer-divider {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 4px 0;
}
.footer-name { font-size: 11.5px; color: rgba(255,255,255,.26); }
@media (max-width: 480px) {
  .footer-tel { font-size: 24px; }
  .site-footer { padding: 28px 16px; }
}
