/* 人体成分分析仪专用样式表 */
/* 全局变量定义 */
:root {
  --primary-color: #4CAF50;       /* 主品牌色-绿色 */
  --primary-dark: #388E3C;        /* 深绿色 */
  --secondary-color: #8BC34A;     /* 浅绿色 */
  --accent-color: #FFC107;        /* 强调色-黄色 */
  --text-color: #333;             /* 主要文字颜色 */
  --light-bg: #F1F8E9;            /* 浅色背景 */
  --dark-bg: #2E7D32;             /* 深色背景 */
  --success-color: #4CAF50;       /* 成功色 */
  --warning-color: #FF9800;       /* 警告色 */
  --error-color: #F44336;         /* 错误色 */
  --gray-light: #f5f5f5;          /* 浅灰色 */
  --gray-medium: #9e9e9e;         /* 中灰色 */
  --gray-dark: #616161;           /* 深灰色 */
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* 容器样式 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 链接样式 */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* 图片样式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 按钮基础样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-color);
}

.btn-accent:hover {
  background-color: #FFB300;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}
/* 修改咨询按钮样式 */
.consult-btn {
    display: inline-block;
    background-color: var(--accent-color); /* 使用强调色(黄色)作为背景 */
    color: var(--text-color); /* 使用深色文字 */
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3); /* 黄色阴影 */
    text-align: center;
}

.consult-btn:hover {
    background-color: #FFB300; /* 更深的黄色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 179, 0, 0.4);
}

/* 医疗方案咨询按钮特殊样式 */
.consult-btn.medical {
    background-color: var(--primary-color); /* 使用主绿色 */
    color: white; /* 白色文字 */
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.consult-btn.medical:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(56, 142, 60, 0.4);
}

/* 健身方案咨询按钮特殊样式 */
.consult-btn.fitness {
    background-color: #2196F3; /* 蓝色 */
    color: white;
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.3);
}

.consult-btn.fitness:hover {
    background-color: #1976D2;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

/* 页脚咨询按钮样式 */
.footer-consult-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
    border: none;
    cursor: pointer;
}

.footer-consult-btn:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 179, 0, 0.4);
}
/* 导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--dark-bg);
  color: white;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
  position: relative;
}

.nav-links a {
  color: white;
  font-weight: 500;
  padding: 8px 0;
  display: block;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* 主横幅样式 */
.banner {
  margin-top: 70px;
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner img {
  width: 1920px;
  height: 300px;
  max-width: none;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.banner-btn {
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background-color: #FFB300;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 通用区块标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  margin: 0 auto;
}

/* 产品介绍区块 */
.product-intro {
  padding: 80px 0;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.content-wrapper.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
}

.text-content h2 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.text-content p {
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.image-content {
  flex: 1;
}

.image-content img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 产品参数部分样式 */
.product-specs {
  padding: 80px 0;
  background-color: #ffffff;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.spec-item {
  background-color: var(--gray-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.spec-item h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: bold;
}

.spec-item ul {
  list-style: none;
  padding: 0;
}

.spec-item li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95em;
}

.spec-item li:last-child {
  border-bottom: none;
}

.spec-item strong {
  color: var(--primary-dark);
  font-weight: bold;
}

/* 产品功能特点部分样式 */
.product-features {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.features-content {
  margin-top: 20px;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(76,175,80,0.04);
  padding: 10px 2px;
}

.features-text h3 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

.features-layout {
  display: flex;
  gap: 18px;
}

.features-product {
  flex: 0 0 340px;
  max-width: 340px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(76,175,80,0.08);
  padding: 28px 12px 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-right: 32px;
}

.features-product img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(76,175,80,0.10);
}

.features-main {
  flex: 1 1 0%;
  min-width: 0;
  font-size: 0.95em;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 0 0;
  border-left: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: unset;
}

.feature-item h4 {
  color: var(--primary-dark);
  margin-bottom: 0;
  font-size: 0.98em;
  font-weight: bold;
  display: inline-block;
  margin-right: 6px;
}

.feature-item p {
  color: var(--text-color);
  line-height: 1.4;
  font-size: 0.88em;
  display: inline-block;
  margin: 0;
}

/* 核心技术区块 */
.technology {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.tech-item {
  background: white;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: 50%;
  font-size: 44px;
  color: #fff;
}

.tech-icon img {
  display: none;
}

.tech-icon .iconfont {
  font-size: 44px;
  color: #fff;
}

.tech-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* 应用领域区块 */
.applications {
  padding: 80px 0;
}

.app-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.app-tab {
  padding: 12px 25px;
  cursor: pointer;
  margin: 0 10px;
  position: relative;
  font-weight: 600;
  color: var(--gray-medium);
}

.app-tab.active {
  color: var(--primary-color);
}

.app-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.app-content {
  display: none;
}

.app-content.active {
  display: block;
}

.app-content-wrapper {
  display: flex;
  gap: 40px;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.app-text {
  flex: 1;
}

.app-text h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.app-text p {
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.app-text ul {
  margin: 15px 0 20px;
}

.app-text li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.app-text li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.app-image {
  flex: 1;
}

.app-image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* 客户案例区块 */
.cases {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.case-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.case-item {
  min-width: 350px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
}

.case-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-info {
  padding: 20px;
}

.case-info h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.case-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.case-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.case-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* 页脚样式 */
.footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-info {
  flex: 1;
}

.footer-logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-info p {
  color: #eee;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #ddd;
}

.footer-contact .icon {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.footer-consult-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.footer-consult-btn:hover {
  background-color: #FFB300;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .content-wrapper,
  .content-wrapper.reverse,
  .app-content-wrapper {
    flex-direction: column;
  }
  
  .image-content,
  .app-image {
    margin-top: 30px;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  
  .nav-links {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links li {
    margin: 5px 10px;
  }
  
  .banner {
    height: 120px;
  }
  
  .banner img {
    height: 120px;
    width: auto;
    min-width: 100vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .app-tabs {
    flex-wrap: wrap;
  }
  
  .app-tab {
    margin: 5px;
  }
  
  /* 新增部分的响应式适配 */
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .spec-item {
    padding: 20px;
  }
  
  .feature-item {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .header {
    height: 48px;
  }
  .navbar {
    padding: 6px 0;
    min-height: 40px;
  }
  .logo img {
    height: 22px;
    width: auto;
  }
  .banner {
    margin-top: 60px !important;
    height: 60px;
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    overflow: hidden;
  }
  .banner img {
    display: none;
  }
  .banner h1, .banner p, .banner .banner-btn {
    display: none;
  }
  .content-wrapper,
  .features-layout,
  .app-content-wrapper {
    flex-direction: column !important;
    gap: 10px;
    padding: 10px 0 !important;
  }
  .image-content img,
  .features-product img,
  .app-image img,
  .case-item img {
    width: 100%;
    height: auto;
    max-width: 100vw;
  }
  .features-product,
  .features-main,
  .feature-item,
  .app-text,
  .case-info {
    padding: 8px 0 !important;
  }
  .features-list,
  .specs-grid {
    gap: 10px;
  }
  .app-tabs {
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 2px;
  }
  .app-tab {
    padding: 6px 10px;
    font-size: 0.9rem;
    margin: 2px 0;
  }
  .case-slider {
    flex-direction: column;
    gap: 12px;
  }
  .case-item {
    width: 100%;
    margin-bottom: 10px;
  }
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-logo img {
    margin: 0 auto;
    height: 22px;
  }
  .footer-info p,
  .footer-contact p {
    font-size: 0.95rem;
    word-break: break-all;
  }
  .copyright {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
  }
}

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

/* 应用领域选项卡样式 */
.app-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.app-tab {
    padding: 12px 25px;
    cursor: pointer;
    margin: 0 10px 10px;
    position: relative;
    font-weight: 600;
    color: var(--gray-medium);
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
}

.app-tab:hover {
    color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.1);
}

.app-tab.active {
    color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.1);
}

.app-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.app-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.app-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.app-content-wrapper {
    display: flex;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.app-text {
    flex: 1;
}

.app-text h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.app-text p {
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.app-text ul {
    margin: 15px 0 20px;
}

.app-text li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.app-text li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.app-image {
    flex: 1;
}

.app-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .app-content-wrapper {
        flex-direction: column;
    }
    
    .app-image {
        margin-top: 30px;
    }
    
    .app-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Banner自适应优化（1920x300居中裁切） */
@media (max-width: 1200px) {
  .banner img {
    width: 100vw;
    height: 300px;
    min-width: 100vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 900px) {
  .features-list {
    grid-template-columns: 1fr;
  }
  .features-content {
    padding: 6px 1px;
  }
}

.features-layout {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .features-layout {
    flex-direction: column;
    gap: 8px;
  }
  .features-product {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    max-width: 340px;
    align-self: center;
  }
}


/* 移动端极小屏幕优化（≤480px） */
@media (max-width: 480px) {
  .navbar {
    padding: 8px 0;
  }
  .logo img {
    height: 22px;
    width: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 8px;
  }
  .nav-links li {
    margin: 4px 0;
  }
  .banner {
    height: 180px;
    margin-top: 100px !important; /* 避免被导航遮挡 */
  }
  .banner img {
    height: 180px;
    min-width: 100vw;
  }
  .banner h1, .banner p {
    font-size: 1.1rem;
    text-align: center;
  }
  .banner .banner-btn {
    width: 90%;
    font-size: 1rem;
    padding: 10px 0;
  }
  .content-wrapper,
  .features-layout,
  .app-content-wrapper {
    flex-direction: column !important;
    gap: 10px;
    padding: 10px 0 !important;
  }
  .image-content img,
  .features-product img,
  .app-image img,
  .case-item img {
    width: 100%;
    height: auto;
    max-width: 100vw;
  }
  .features-product,
  .features-main,
  .feature-item,
  .app-text,
  .case-info {
    padding: 8px 0 !important;
  }
  .features-list,
  .specs-grid {
    gap: 10px;
  }
  .app-tabs {
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 2px;
  }
  .app-tab {
    padding: 6px 10px;
    font-size: 0.9rem;
    margin: 2px 0;
  }
  .case-slider {
    flex-direction: column;
    gap: 12px;
  }
  .case-item {
    width: 100%;
    margin-bottom: 10px;
  }
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-logo img {
    margin: 0 auto;
    height: 22px;
  }
  .footer-info p,
  .footer-contact p {
    font-size: 0.95rem;
    word-break: break-all;
  }
  .copyright {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
  }
}

/* 汉堡菜单按钮样式 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 28px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    right: 18px;
    top: 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 100vw;
    background: var(--dark-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 10px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 1001;
  }
  .nav-links.show {
    display: flex;
    animation: fadeIn 0.3s;
  }
  .nav-links li {
    margin: 10px 0;
  }
}