/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f0f2f5;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: #1890ff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== Utility ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; border-bottom: 2px solid #e8e8e8; padding-bottom: 12px;
}
.section-title h2 {
  font-size: 22px; font-weight: 700; color: #1a1a1a;
  position: relative; padding-left: 14px;
}
.section-title h2::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 4px; height: 22px; background: #1890ff; border-radius: 2px;
}
.section-title .more { font-size: 14px; color: #999; }
.section-title .more:hover { color: #1890ff; }
.tag { display: inline-block; padding: 2px 8px; font-size: 12px; border-radius: 3px; margin-right: 6px; }
.tag-blue { background: #e6f7ff; color: #1890ff; }
.tag-green { background: #f6ffed; color: #52c41a; }
.tag-orange { background: #fff7e6; color: #fa8c16; }
.tag-red { background: #fff1f0; color: #f5222d; }

/* ========== Top Bar ========== */
.top-bar {
  background: #001529; color: rgba(255,255,255,.65); font-size: 12px;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,.65); margin-left: 16px; font-size: 12px; }
.top-bar a:hover { color: #fff; }

/* ========== Header ========== */
.header {
  background: #fff; padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 100;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, #1890ff, #096dd9);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 18px;
}
.logo-text h1 { font-size: 20px; font-weight: 700; color: #001529; line-height: 1.2; }
.logo-text p { font-size: 11px; color: #999; letter-spacing: 1px; }
.search-box {
  display: flex; align-items: center; background: #f5f5f5;
  border-radius: 20px; padding: 6px 16px; width: 320px;
  border: 1px solid transparent; transition: all .3s;
}
.search-box:focus-within { background: #fff; border-color: #1890ff; box-shadow: 0 0 0 3px rgba(24,144,255,.1); }
.search-box input {
  border: none; outline: none; background: transparent; flex: 1;
  font-size: 14px; color: #333; padding: 4px 8px;
}
.search-box input::placeholder { color: #bbb; }
.search-btn {
  background: none; border: none; cursor: pointer; color: #999;
  font-size: 16px; transition: color .2s;
}
.search-btn:hover { color: #1890ff; }

/* ========== Navigation ========== */
.nav {
  background: #fff; border-bottom: 1px solid #e8e8e8;
  position: sticky; top: 73px; z-index: 99;
}
.nav ul { display: flex; align-items: center; gap: 0; }
.nav li { position: relative; }
.nav a {
  display: block; padding: 12px 22px; font-size: 15px; font-weight: 500;
  color: #333; transition: all .2s; position: relative;
}
.nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0;
  height: 2px; background: #1890ff; transition: all .3s; transform: translateX(-50%);
}
.nav a:hover { color: #1890ff; }
.nav a:hover::after, .nav a.active::after { width: 60%; }
.nav a.active { color: #1890ff; }

/* ========== Banner + Headlines ========== */
.banner-section { padding: 20px 0; }
.banner-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }

/* Carousel */
.carousel {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/8; background: #001529;
}
.carousel-slides { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  display: flex; align-items: flex-end;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide .slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.carousel-slide .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%, rgba(0,0,0,.05) 100%);
}
.carousel-slide .slide-content {
  position: relative; z-index: 2; padding: 30px; color: #fff; width: 100%;
}
.carousel-slide .slide-content .slide-tag {
  display: inline-block; background: #1890ff; color: #fff;
  padding: 3px 10px; border-radius: 4px; font-size: 12px; margin-bottom: 10px;
}
.carousel-slide .slide-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.carousel-slide .slide-content p { font-size: 13px; color: rgba(255,255,255,.7); }
.carousel-dots {
  position: absolute; bottom: 14px; right: 20px; z-index: 3;
  display: flex; gap: 8px;
}
.carousel-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4);
  cursor: pointer; transition: all .3s;
}
.carousel-dots span.active { background: #1890ff; width: 24px; border-radius: 4px; }

/* Headlines */
.headlines {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
}
.headlines-title {
  font-size: 18px; font-weight: 700; color: #001529;
  padding-bottom: 14px; border-bottom: 1px solid #f0f0f0;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.headlines-title .icon { color: #f5222d; font-size: 20px; }
.headline-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px dashed #f5f5f5;
  transition: all .2s; cursor: pointer;
}
.headline-item:last-child { border-bottom: none; }
.headline-item:hover .headline-text { color: #1890ff; }
.headline-num {
  width: 22px; height: 22px; border-radius: 4px; display: flex;
  align-items: center; justify-content: center; font-size: 12px;
  font-weight: 700; flex-shrink: 0; margin-top: 1px;
  background: #f0f0f0; color: #999;
}
.headline-item:nth-child(-n+3) .headline-num { background: #1890ff; color: #fff; }
.headline-text { font-size: 14px; color: #333; line-height: 1.5; transition: color .2s; }

/* ========== Category News ========== */
.category-section { padding: 10px 0 20px; }
.category-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }

/* Main content area */
.category-main {}
.category-tabs {
  display: flex; gap: 0; background: #fff; border-radius: 12px 12px 0 0;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.category-tab {
  padding: 14px 24px; font-size: 15px; font-weight: 500;
  color: #666; cursor: pointer; transition: all .2s;
  border-bottom: 2px solid transparent; background: #fff;
  position: relative;
}
.category-tab:hover { color: #1890ff; }
.category-tab.active {
  color: #1890ff; border-bottom-color: #1890ff;
  background: #fff;
}
.category-content {
  background: #fff; border-radius: 0 0 12px 12px;
  padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.news-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0;
}
.news-card {
  border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: all .3s; position: relative;
  display: flex; align-items: stretch;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.news-card-img {
  width: 160px; min-height: 110px; flex-shrink: 0;
  background: #e8e8e8;
  background-size: cover; background-position: center;
}
.news-card-body { padding: 12px 16px; flex: 1; min-width: 0; }
.news-card-body h4 {
  font-size: 15px; font-weight: 600; color: #1a1a1a;
  margin-bottom: 6px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-body .meta { font-size: 12px; color: #999; display: flex; gap: 12px; }

.news-list {}
.news-item {
  display: flex; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid #f5f5f5; transition: all .2s; cursor: pointer;
  align-items: stretch;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #fafafa; margin: 0 -12px; padding: 14px 12px; border-radius: 8px; }
.news-item-img {
  width: 150px; height: 100px; border-radius: 8px; flex-shrink: 0;
  background: #e8e8e8; background-size: cover; background-position: center;
}
.news-item-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.news-item-content h4 {
  font-size: 15px; font-weight: 600; color: #1a1a1a; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item-content h4:hover { color: #1890ff; }
.news-item-content .desc {
  font-size: 13px; color: #888; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item-content .meta { font-size: 12px; color: #bbb; display: flex; gap: 16px; }

/* ========== Sidebar ========== */
.sidebar { position: relative; }
.sidebar-inner { position: sticky; top: 140px; }
.sidebar-block {
  background: #fff; border-radius: 12px; padding: 20px;
  margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.sidebar-block-title {
  font-size: 16px; font-weight: 700; color: #1a1a1a;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-block-title .icon { font-size: 18px; }

/* Hot articles — thumbnail + text link */
.hot-item {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed #f5f5f5; cursor: pointer;
  align-items: center;
}
.hot-item:last-child { border-bottom: none; }
.hot-item:hover .hot-title { color: #1890ff; }
.hot-thumb {
  width: 80px; height: 60px; border-radius: 6px; flex-shrink: 0;
  background: #e8e8e8; background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.hot-thumb .hot-rank-badge {
  position: absolute; top: 0; left: 0; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
  background: #d9d9d9; border-radius: 6px 0 6px 0;
}
.hot-item:nth-child(1) .hot-rank-badge { background: linear-gradient(135deg, #ff4d4f, #ff7875); }
.hot-item:nth-child(2) .hot-rank-badge { background: linear-gradient(135deg, #fa8c16, #ffc069); }
.hot-item:nth-child(3) .hot-rank-badge { background: linear-gradient(135deg, #1890ff, #69c0ff); }
.hot-item:nth-child(4) .hot-rank-badge { background: #d9d9d9; }
.hot-item:nth-child(5) .hot-rank-badge { background: #d9d9d9; }
.hot-info { flex: 1; min-width: 0; }
.hot-title {
  font-size: 14px; color: #333; line-height: 1.4; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s;
}
.hot-meta { font-size: 12px; color: #bbb; margin-top: 4px; }

/* Sidebar image link */
.sidebar-img-link {
  display: block; border-radius: 10px; overflow: hidden;
  transition: all .3s; cursor: pointer;
}
.sidebar-img-link:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.sidebar-img-link .img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e6f7ff, #bae7ff);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #91d5ff; font-size: 14px;
}
.sidebar-img-link .img-placeholder .img-icon { font-size: 36px; margin-bottom: 8px; }
.sidebar-img-link .img-caption {
  padding: 10px 14px; text-align: center; font-size: 13px; color: #666;
  background: #fff;
}

/* Ad placeholder */
.ad-placeholder {
  background: linear-gradient(135deg, #f0f5ff, #e6f7ff);
  border: 1px dashed #91d5ff; border-radius: 10px;
  height: 200px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #91d5ff;
}
.ad-placeholder .ad-icon { font-size: 32px; margin-bottom: 8px; }
.ad-placeholder p { font-size: 13px; }

/* ========== Brand Showcase ========== */
.brand-section { padding: 20px 0 30px; }
.brand-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.brand-card {
  background: #fff; border-radius: 12px; padding: 24px 16px;
  text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: all .3s; cursor: pointer; border: 1px solid transparent;
}
.brand-card:hover {
  transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-color: #1890ff;
}
.brand-logo {
  width: 64px; height: 64px; border-radius: 12px; margin: 0 auto 12px;
  background: #f0f2f5; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #1890ff;
}
.brand-card h4 { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 4px; }
.brand-card p { font-size: 12px; color: #999; }

/* ========== Project Cases ========== */
.cases-section { padding: 20px 0; }
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.case-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: all .3s; cursor: pointer;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.case-card-img {
  width: 100%; aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  position: relative;
}
.case-card-img .case-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(24,144,255,.9); color: #fff;
  padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600;
}
.case-card-body { padding: 16px 18px; }
.case-card-body h4 {
  font-size: 15px; font-weight: 600; color: #1a1a1a; margin-bottom: 10px;
  line-height: 1.4;
}
.case-meta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px;
}
.case-meta-item {
  font-size: 12px; color: #888; display: flex; align-items: center; gap: 4px;
}
.case-meta-item .label { color: #bbb; }
.case-card-body .case-desc {
  font-size: 13px; color: #888; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ========== Company News ========== */
.company-section { padding: 20px 0 30px; }
.company-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.company-main {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  cursor: pointer; transition: all .3s;
}
.company-main:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.company-main-img {
  width: 100%; aspect-ratio: 16/8;
  background-size: cover; background-position: center;
}
.company-main-body { padding: 18px 20px; }
.company-main-body h4 {
  font-size: 17px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; line-height: 1.4;
}
.company-main-body .desc {
  font-size: 13px; color: #888; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.company-main-body .meta { font-size: 12px; color: #bbb; margin-top: 10px; }

.company-list { display: flex; flex-direction: column; gap: 12px; }
.company-item {
  background: #fff; border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; transition: all .3s;
}
.company-item:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.company-item-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
}
.company-item-content { flex: 1; min-width: 0; }
.company-item-content h5 {
  font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.company-item-content .meta { font-size: 12px; color: #bbb; margin-top: 4px; }

/* ========== Ad Banner Strip ========== */
.feature-strip {
  padding: 20px 0;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feature-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: all .3s; cursor: pointer; border: 1px solid transparent;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: #1890ff; }
.feature-card .ad-img {
  width: 100%; aspect-ratio: 16/9;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 14px; color: #bbb;
}
.feature-card .ad-img .ad-label { font-size: 24px; margin-bottom: 6px; }
.feature-card:nth-child(1) .ad-img { background: linear-gradient(135deg, #e6f7ff, #bae7ff); color: #1890ff; }
.feature-card:nth-child(2) .ad-img { background: linear-gradient(135deg, #f6ffed, #d9f7be); color: #52c41a; }
.feature-card:nth-child(3) .ad-img { background: linear-gradient(135deg, #fff7e6, #ffe7ba); color: #fa8c16; }
.feature-card:nth-child(4) .ad-img { background: linear-gradient(135deg, #f9f0ff, #efdbff); color: #722ed1; }
.feature-card .ad-caption {
  padding: 10px 14px; font-size: 13px; color: #666; text-align: center;
  border-top: 1px solid #f5f5f5;
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(180deg, #001529 0%, #002140 100%);
  color: rgba(255,255,255,.65);
  padding: 0;
  margin-top: 20px;
}
.footer-main {
  padding: 50px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { }
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.footer-brand .footer-logo-icon {
  width: 44px; height: 44px; background: linear-gradient(135deg, #1890ff, #096dd9);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 20px;
}
.footer-brand .footer-logo-text {
  font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px;
}
.footer-brand .footer-desc {
  font-size: 13px; line-height: 2; color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.footer-brand .footer-contact {
  font-size: 13px; color: rgba(255,255,255,.5); line-height: 2;
}
.footer-brand .footer-contact span { color: #1890ff; font-weight: 600; }

.footer-links { }
.footer-links h4 {
  color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600;
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-links h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px; background: #1890ff; border-radius: 1px;
}
.footer-links a {
  display: block; font-size: 13px; color: rgba(255,255,255,.45);
  padding: 5px 0; transition: all .2s;
}
.footer-links a:hover { color: #1890ff; padding-left: 4px; }

.footer-qr-section { }
.footer-qr-section h4 {
  color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600;
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-qr-section h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px; background: #1890ff; border-radius: 1px;
}
.footer-qr {
  display: flex; flex-direction: row; gap: 32px;
  justify-content: flex-start;
}
.footer-qr-item { text-align: center; }
.footer-qr-item .qr-placeholder {
  width: 120px; height: 120px; background: rgba(255,255,255,.08);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.25); font-size: 13px;
  border: 1px solid rgba(255,255,255,.1);
  transition: all .3s;
}
.footer-qr-item:hover .qr-placeholder {
  background: rgba(255,255,255,.12); border-color: rgba(24,144,255,.4);
}
.footer-qr-item p { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px; font-weight: 500; }

/* Friend Links */
.footer-friends {
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-friends-title {
  font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 12px;
  font-weight: 600;
}
.footer-friends-links {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
}
.footer-friends-links a {
  font-size: 12px; color: rgba(255,255,255,.3); transition: all .2s;
  padding: 2px 0;
}
.footer-friends-links a:hover { color: #1890ff; }

.footer-bottom {
  padding: 20px 0; text-align: center; font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .banner-grid { grid-template-columns: 1fr; }
  .headlines { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid .case-card:nth-child(3) { display: none; }
  .company-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .search-box { width: 200px; }
  .nav a { padding: 10px 14px; font-size: 14px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-item-img { width: 120px; height: 80px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .cases-grid .case-card:nth-child(3) { display: block; }
  .company-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-main > div:nth-child(3) { grid-column: auto; }
}
@media (max-width: 480px) {
  .nav ul { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .search-box { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .news-item-img { width: 100%; height: 160px; }
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d9d9d9; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #bbb; }

/* ========== Animations ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .5s ease forwards; }