/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  color: #1a1a2e; line-height: 1.6; background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== Utilities ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.bg-light { background: #f8f9fb; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 6px;
  font-weight: 500; font-size: 15px; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: #533afd; color: #fff; }
.btn-primary:hover { background: #4434d4; }
.btn-outline { background: transparent; color: #533afd; border: 1.5px solid #b9b9f9; }
.btn-outline:hover { background: rgba(83,58,253,0.05); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-full { width: 100%; text-align: center; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5edf5;
}
.header-inner { display: flex; align-items: center; height: 72px; gap: 32px; }
.logo { flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav-link { font-size: 14px; font-weight: 400; color: #061b31; padding: 4px 0; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: #533afd; }

/* ===== Dropdown Navigation ===== */
.nav-item { position: relative; }
.nav-item .nav-link { cursor: pointer; }
.dropdown-toggle::after {
  content: '▾'; margin-left: 4px; font-size: 10px; display: inline-block;
  transition: transform 0.2s;
}
.dropdown-toggle.open::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid #e5edf5; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  min-width: 840px; padding: 20px; display: none; z-index: 200;
  grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.dropdown-menu.show { display: grid; }
.dropdown-col { }
.dropdown-col h4 {
  font-size: 12px; font-weight: 600; color: #533afd; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px solid #e5edf5;
}
.dropdown-col a {
  display: block; font-size: 13px; color: #475569; padding: 4px 0;
  transition: color 0.15s;
}
.dropdown-col a:hover { color: #533afd; }
/* Mobile dropdown */
.nav-dropdown-mobile { display: none; }
@media (max-width: 768px) {
  .dropdown-menu {
    position: static; transform: none; min-width: auto; width: 100%;
    grid-template-columns: 1fr 1fr; box-shadow: none; border: none;
    padding: 8px 0 8px 12px; display: none;
  }
  .dropdown-menu.show { display: grid; }
  .dropdown-toggle::after { float: right; }
}
/* hide desktop dropdown on nav items in mobile, handled by .dropdown-menu */

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #061b31; margin: 4px 0; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px; text-align: center;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(83,58,253,0.08); color: #533afd; font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 48px; font-weight: 300; line-height: 1.15; letter-spacing: -0.96px;
  color: #061b31; margin-bottom: 24px;
}
.hero-subtitle { font-size: 18px; color: #64748d; max-width: 640px; margin: 0 auto 40px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; padding: 4px 12px; border-radius: 4px;
  background: rgba(83,58,253,0.06); color: #533afd; font-size: 13px; font-weight: 500;
  margin-bottom: 12px;
}
.section-title { font-size: 32px; font-weight: 300; color: #061b31; letter-spacing: -0.5px; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  padding: 32px 24px; border-radius: 8px; border: 1px solid #e5edf5;
  background: #fff; transition: box-shadow 0.3s;
}
.feature-card:hover { box-shadow: rgba(23,23,23,0.08) 0px 15px 35px; }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; color: #061b31; }
.feature-card p { font-size: 14px; color: #64748d; line-height: 1.5; }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  border-radius: 8px; border: 1px solid #e5edf5;
  background: #fff; transition: all 0.3s; overflow: hidden;
}
.product-card:hover { box-shadow: rgba(50,50,93,0.25) 0px 30px 45px -30px; transform: translateY(-2px); }
.product-card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  border-bottom: 1px solid #e5edf5; background: #f8f9fb;
}
.product-card-body { padding: 20px 24px 24px; }
.product-icon { font-size: 32px; margin-bottom: 12px; }
.product-card h3 { font-size: 18px; font-weight: 500; color: #061b31; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: #64748d; line-height: 1.5; margin-bottom: 12px; }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  background: rgba(83,58,253,0.06); color: #533afd; font-size: 12px;
}
.product-inquiry { font-size: 14px; color: #533afd; font-weight: 500; }
.product-inquiry:hover { color: #4434d4; }
/* Products grid (page-specific, may have .products-grid) */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===== Page Banner ===== */
.page-banner {
  padding: 140px 0 60px; text-align: center;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}
.page-banner h1 { font-size: 40px; font-weight: 300; color: #061b31; margin-bottom: 12px; }
.page-banner p { font-size: 16px; color: #64748d; }

/* ===== Category Filter ===== */
.product-categories { padding: 24px 0 0; }
.category-filter { display: flex; gap: 8px; justify-content: center; }
.category-btn {
  padding: 8px 20px; border-radius: 6px; border: 1px solid #e5edf5;
  background: #fff; color: #061b31; font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.category-btn:hover { border-color: #b9b9f9; }
.category-btn.active { background: #533afd; color: #fff; border-color: #533afd; }

/* ===== Brand Promise ===== */
.brand-promise { background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.promise-card {
  padding: 36px 24px 28px; border-radius: 8px; background: #fff;
  border: 1px solid #e5edf5; text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.promise-card:hover { box-shadow: rgba(23,23,23,0.1) 0px 20px 40px; transform: translateY(-3px); }
.promise-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.promise-icon svg { width: 36px; height: 36px; }
.promise-icon--quality { color: #533afd; }
.promise-icon--flex { color: #0ea5e9; }
.promise-icon--speed { color: #f59e0b; }
.promise-icon--global { color: #10b981; }
.promise-card h3 { font-size: 17px; font-weight: 500; color: #061b31; margin-bottom: 10px; }
.promise-card p { font-size: 14px; color: #64748d; line-height: 1.6; }

/* ===== Product Highlight ===== */
.cta-section {
  background: #1c1e54; color: #fff; text-align: center;
}
.cta-section h2 { font-size: 32px; font-weight: 300; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 16px; }

/* ===== About ===== */
.about-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about-text h2 { font-size: 28px; font-weight: 300; color: #061b31; margin-bottom: 20px; }
.about-text p { color: #475569; margin-bottom: 16px; line-height: 1.7; font-size: 15px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  padding: 24px; border-radius: 8px; background: #f8f9fb; text-align: center;
  border: 1px solid #e5edf5;
}
.stat-number { font-size: 36px; font-weight: 600; color: #533afd; }
.stat-label { font-size: 14px; color: #64748d; margin-top: 4px; }

.supplier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.supplier-card {
  padding: 28px; border-radius: 8px; background: #fff; border: 1px solid #e5edf5;
}
.supplier-card h3 { font-size: 16px; font-weight: 500; color: #061b31; margin-bottom: 8px; }
.supplier-card p { font-size: 14px; color: #64748d; line-height: 1.6; }

.markets-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.market-item {
  padding: 16px 32px; border-radius: 8px; background: #fff; border: 1px solid #e5edf5;
  font-size: 16px; font-weight: 500; color: #061b31;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info h2 { font-size: 28px; font-weight: 300; color: #061b31; margin-bottom: 16px; }
.contact-info > p { color: #64748d; margin-bottom: 32px; line-height: 1.6; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon { font-size: 24px; flex-shrink: 0; }
.contact-item h4 { font-size: 14px; font-weight: 500; color: #061b31; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: #64748d; line-height: 1.5; }

.contact-form-wrapper h2 { font-size: 28px; font-weight: 300; color: #061b31; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: #273951; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #e5edf5; border-radius: 6px;
  font-size: 14px; color: #061b31; background: #fff; transition: border 0.2s;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #533afd;
}
.form-note { font-size: 12px; color: #94a3b8; margin-top: 12px; }

/* ===== Footer ===== */
.footer { background: #0f172a; color: #e2e8f0; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-logo { width: 220px; height: auto; display: block; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); background: #fff; padding: 12px 16px; }
.footer-brand p { color: #94a3b8; font-size: 14px; }

.footer-social { margin-top: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: #1e293b; color: #94a3b8;
  margin-right: 10px; transition: all 0.25s ease; text-decoration: none;
}
.footer-social a:hover { background: #533afd; color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-links h4, .footer-contact h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-links a { display: block; color: #94a3b8; font-size: 14px; padding: 3px 0; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact p { color: #94a3b8; font-size: 13px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; }
.footer-bottom p { color: #475569; font-size: 13px; text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 16px 24px; border-bottom: 1px solid #e5edf5; gap: 12px; }
  .menu-toggle { display: block; }
  .btn-sm { display: inline-block; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .supplier-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 120px 0 60px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
}

/* ===== Blog Grid ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  padding: 28px;
  transition: box-shadow 0.3s;
}

.blog-card:hover {
  box-shadow: rgba(23,23,23,0.08) 0px 15px 35px;
}

.blog-card-tag {
  display: inline-block;
  background: #533afd;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 300;
  color: #061b31;
  margin-bottom: 8px;
}

.blog-card-meta {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e5edf5;
}

.blog-category {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(83,58,253,0.06);
  color: #533afd;
  font-size: 12px;
}

.blog-read-more {
  font-size: 14px;
  color: #533afd;
  font-weight: 500;
}

.blog-read-more:hover {
  color: #4434d4;
}

/* ===== Blog Article (Single Post) ===== */
.blog-full-content {
  display: none;
  max-width: 800px;
}

.blog-article {
  padding: 60px 0;
  font-size: 16px;
  color: #334155;
}

.blog-article h1 {
  font-size: 32px;
  font-weight: 300;
  color: #061b31;
  margin-bottom: 16px;
}

.blog-article h2 {
  font-size: 22px;
  font-weight: 400;
  color: #061b31;
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-article p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.blog-article ol li {
  margin-bottom: 12px;
}

.blog-back {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  color: #533afd;
  border: 1.5px solid #b9b9f9;
}

.blog-back:hover {
  background: rgba(83,58,253,0.05);
}

.blog-cta {
  background: #f8f9fb;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  margin-top: 40px;
}

.blog-article-tag {
  font-size: 13px;
  color: #64748d;
  margin-bottom: 16px;
}

/* ===== Blog Responsive ===== */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card-title {
    font-size: 18px;
  }
}

/* ===== Touch-friendly improvements ===== */
@media (hover: none) and (pointer: coarse) {
  .category-btn,
  .product-inquiry,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-link {
    padding: 12px 0;
    font-size: 16px;
  }
  .product-card {
    cursor: default;
  }
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }
}
