* {
  padding: 0;
  margin: 0;
  position: relative;
}

a {
  text-decoration: none;
}

body {
  background-color: #ffffff;
  font-family: 'pingfang sc', 微软雅黑, arial, 思源黑体，"iconfont";
}

/* 导航 */
header {
  padding: 10px 60px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2000;
}

.gr-logo {
  width: 48px;
  height: 48px;
}

.gr-site__header {
  display: flex;
}

.gr-site__logo {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.gr-site__title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gr-site__title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 2px;
}

.gr-site__description {
  margin-top: 2px;
  font-size: 14px;
}

.gr-nav__header {
  height: 100%;
  position: unset;
}

nav ul.gr-nav {
  list-style: none;
}

nav ul.gr-nav .gr-nav__item {
  display: inline-block;
  line-height: 60px;
}

nav ul.gr-nav .gr-nav__item a {
  font-size: 14px;
  color: #919191;
  padding: 0 1em;
  text-decoration: none;
  transition: all .2s linear;
  height: 100%;
  width: 100%;
  text-align: center;
}

nav ul.gr-nav .gr-nav__item a:hover {
  color: #000000;
}

nav ul.gr-nav .gr-nav__item.active a {
  color: #00AB6B;
}

.icon {
  width: 20px;
  height: 20px;
  fill: #00AB6B;
}

.menu-toggle button {
  border: none;
  background-color: white;
}

.hidden {
  display: none;
}

.gr-content {
  width:100%;
	height: 100%;
}

.gr-content img {
  width:100%;
	height: 100%;
}

/* =============== About new page styles =============== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  position: relative;
  height: 420px;
  color: #ffffff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.hero__subtitle {
  opacity: 0.95;
}

.hero__desc {
  opacity: 0.9;
  font-size: 14px;
}

.gr-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #00AB6B;
  color: #fff;
  border-radius: 6px;
}

.gr-btn--sm {
  padding: 6px 12px;
  font-size: 12px;
}

.section { padding: 70px 0; }
.section .section-title { font-size: 24px; margin: 10px 0 16px; }
.section .section-tag { color: #00AB6B; font-size: 12px; }
.section .section-caption { font-size: 20px; margin-bottom: 18px; }
.section .center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.grid-2-reverse { grid-template-columns: 1fr 1.1fr; }

.img-card { border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.img-card img { width: 100%; display: block; }
.img-card--offset { position: relative; }
.img-card--offset::before {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #00AB6B;
  z-index: -1;
}

.section-services { background: #F3FBF7; }
.section-services .section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; list-style: none; padding-left: 0; }
.service-item { background: linear-gradient(180deg,#FFFFFF 0%, #F9FFFC 100%); border-radius: 16px; padding: 18px; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.06); border: 1px solid #E1F6EE; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service-item::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 4px; background: #A5E8D3; border-bottom-right-radius: 6px; }
.service-item::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; background: radial-gradient(60px 60px at 60px 60px, rgba(0,171,107,.12), rgba(0,171,107,0) 60%); }
.service-item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.08); }
.service-item h4 { font-size: 14px; margin: 8px 0; }
.service-item p { font-size: 12px; color: #666; }
.service-icon { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: #F6FFFB; border: 1px solid #E1F6EE; display: inline-flex; align-items: center; justify-content: center; color: #00AB6B; }
.service-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section-advantages .advantages { position: relative; display: grid; grid-template-columns: 1fr; gap: 16px; }
.advantages__hero { width: 100%; height: 220px; border-radius: 12px; background-size: cover; background-position: center; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.adv-cards { list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv-card { background: linear-gradient(180deg,#FFFFFF 0%, #F9FFFC 100%); border: 1px solid #E1F6EE; border-radius: 16px; padding: 16px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.06); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.adv-card::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 4px; background: #A5E8D3; border-bottom-right-radius: 6px; }
.adv-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; background: radial-gradient(60px 60px at 60px 60px, rgba(0,171,107,.12), rgba(0,171,107,0) 60%); }
.adv-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.08); }
.adv-card strong { display: block; margin: 6px 0; }
.adv-card p { font-size: 12px; color: #65707A; }
.adv-icon { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; background: #F6FFFB; border: 1px solid #E1F6EE; display: grid; place-items: center; color: #00AB6B; }
.adv-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section-flow { background: #F3FBF7; }
.flow-hero { width: 100%; height: 160px; border-radius: 12px; background-size: cover; background-position: center; box-shadow: 0 10px 28px rgba(0,0,0,.06); margin-bottom: 12px; }
.flow { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; align-items: start; margin-top: 14px; list-style: none; padding-left: 0; counter-reset: step; }
.flow li { background: linear-gradient(180deg,#FFFFFF 0%, #F9FFFC 100%); text-align: center; border-radius: 16px; padding: 20px 10px 16px; font-size: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.06); position: relative; border: 1px solid #E1F6EE; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.flow li::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; background: radial-gradient(60px 60px at 60px 60px, rgba(0,171,107,.12), rgba(0,171,107,0) 60%); }
.flow li:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.08); }
.flow li::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: 10px; width: 28px; height: 28px; line-height: 28px; text-align: center; color: #fff; font-weight: 600; border-radius: 50%; background: linear-gradient(135deg, #00C27A 0%, #00AB6B 100%); box-shadow: 0 6px 14px rgba(0,171,107,.25); font-size: 14px; }
.flow-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: #00AB6B; background: #F6FFFB; border: 1px solid #E1F6EE; margin-bottom: 8px; }
.flow-title { display: block; font-size: 14px; margin-bottom: 4px; }
.flow-desc { color: #65707A; font-size: 12px; }

/* 连线视觉，仅桌面 */
.flow--lined { position: relative; }
.flow--lined .flow-step { overflow: visible; }
.flow--lined .flow-step::after { content: ""; position: absolute; top: 32px; right: -8px; width: 16px; height: 2px; background: #A5E8D3; display: block; }
.flow--lined .flow-step:last-child::after { display: none; }

.site-footer { background: #2E3237; color: #BFC7CF; padding-top: 40px; padding-bottom: 20px;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px; }
.footer-col h4 { color: #fff; margin-bottom: 10px; }
.footer-list { list-style: none; }
.footer-list li { margin: 6px 0; }
.footer-col a { color: #BFC7CF; }
.footer-qrs { display: grid; grid-template-columns: repeat(2,120px); gap: 28px; justify-content: end; }
.footer-qrs .qr { text-align: center; }
.footer-qrs img { width: 120px; height: 120px; background: #fff; padding: 6px; border-radius: 6px; }
.footer-copy { text-align: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); margin-top: 20px; font-size: 12px; }

/* =============== Customer cases page styles =============== */
/* 科技感Banner */
.tech-banner {
  position: relative;
  height: 400px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #152238 50%, #1a2b3f 100%);
}

.tech-banner__bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(90deg, rgba(0, 171, 107, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 171, 107, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.tech-banner__grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 171, 107, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 171, 107, 0.08) 0%, transparent 50%);
}

.tech-banner__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 0 20px;
  z-index: 10;
}

.tech-banner__badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(0, 171, 107, 0.15);
  border: 1px solid rgba(0, 171, 107, 0.3);
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 3px;
  color: #00E88F;
  font-weight: 600;
}

.tech-banner__title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff 0%, #a8e6cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.tech-banner__subtitle {
  font-size: 18px;
  opacity: 0.9;
  letter-spacing: 1px;
  color: #c8d9e6;
}

.tech-banner__stats {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #00E88F;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 13px;
  color: #c8d9e6;
  opacity: 0.9;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

/* 项目展示区 */
.cases-section {
  padding: 80px 0;
  background: #f8fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* 网格布局 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 项目卡片 */
.case-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 171, 107, 0.15);
}

.case-card__image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-card__image img {
  transform: scale(1.08);
}

.case-card__overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
}

.case-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 171, 107, 0.95);
  color: #fff;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.case-card__content {
  padding: 24px;
}

.case-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 50px;
}

.case-card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
  min-height: 66px;
}

.case-card__link {
  display: inline-flex;
  align-items: center;
  color: #00AB6B;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.case-card__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00AB6B;
  transition: width 0.3s ease;
}

.case-card__link:hover {
  color: #00895A;
  transform: translateX(4px);
}

.case-card__link:hover::after {
  width: calc(100% - 20px);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media screen and (max-width: 768px) {
  .tech-banner {
    height: 320px;
  }
  
  .tech-banner__title {
    font-size: 32px;
  }
  
  .tech-banner__subtitle {
    font-size: 16px;
  }
  
  .tech-banner__stats {
    gap: 25px;
    flex-wrap: wrap;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .cases-section {
    padding: 50px 0;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .case-card__image {
    height: 200px;
  }
  
  .section-header {
    margin-bottom: 35px;
  }
}

@media screen and (max-width: 480px) {
  .tech-banner__stats {
    gap: 20px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-number {
    font-size: 24px;
  }
}

@media screen and (max-width: 920px) {
  .grid-2, .grid-2-reverse { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .adv-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-qrs { justify-content: start; gap: 20px; }
}

@media screen and (max-width: 600px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li { padding: 16px 8px 12px; }
  .flow li::before { width: 24px; height: 24px; line-height: 24px; font-size: 12px; top: -10px; }
  .flow--lined .flow-step::after { display: none; }
  .adv-cards { grid-template-columns: 1fr; }
  .footer-qrs { grid-template-columns: repeat(2,120px); gap: 16px; }
}

@media screen and (max-width: 420px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { padding: 16px 8px 12px; }
}

@media screen and (max-width:920px) {
  header {
    padding: 10px 20px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .gr-menu {
    position: absolute;
    width: 100vw;
    left: 0;
    top: 73px;
    background-color: white;
    text-align: center;
  }

  .gr-menu .gr-nav .gr-nav__item {
    display: flex;
    justify-content: center;
  }
}

@media screen and (width > 920px) {
  header {
    padding: 10px 60px;
    justify-content: space-evenly;
  }

  .menu-toggle {
    display: none;
  }

  .gr-menu {
    position: relative;
    display: block;
  }
}

/* =============== Modal Styles =============== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
  z-index: 10000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px); 
  }
  to { 
    opacity: 1;
    transform: translateY(0); 
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f5f5f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  background: #00AB6B;
  color: #fff;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.modal-header h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 6px;
  font-weight: 700;
}

.modal-header p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8fffd 0%, #f0faf7 100%);
  border-radius: 12px;
  border: 1px solid #e1f6ee;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 171, 107, 0.1);
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #00C27A 0%, #00AB6B 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 171, 107, 0.25);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
  font-weight: 500;
}

.contact-value {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.modal-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.modal-tip {
  font-size: 12px;
  color: #999;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-tip::before {
  content: "💡";
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .modal-content {
    padding: 32px 24px;
    width: 95%;
  }
  
  .modal-header h2 {
    font-size: 24px;
  }
  
  .contact-item {
    padding: 16px;
    gap: 16px;
  }
  
  .contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  
  .contact-value {
    font-size: 16px;
  }
}