/* 领码科技官网内页样式 */

.page-banner {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 61, 122, 0.92) 50%, rgba(0, 102, 204, 0.88) 100%),
    radial-gradient(circle at 30% 40%, rgba(0, 180, 255, 0.3) 0%, transparent 50%);
  color: #fff;
  padding: 150px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  letter-spacing: 2px;
}

.page-banner .breadcrumb {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.page-banner .breadcrumb a {
  color: var(--accent);
}

.page-banner .breadcrumb span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ 公司简介 - 时间线 ============ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  margin-bottom: 20px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.timeline-year {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============ 价值观卡片 ============ */
.values {
  background: var(--bg-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.value-card:hover {
  background: var(--bg-white);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============ 产品详情 ============ */
.product-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.product-section:nth-child(even) {
  background: var(--bg);
}

.product-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-section.reverse .container {
  grid-template-columns: 1fr 1fr;
}

.product-section.reverse .product-info {
  order: 2;
}

.product-section.reverse .product-visual {
  order: 1;
}

.product-num-big {
  display: inline-block;
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--primary-soft);
  border-radius: 20px;
}

.product-info h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.product-info .sub-en {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.product-info > p {
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 15px;
}

.product-features-list {
  margin-top: 20px;
}

.product-features-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-2);
}

.product-features-list li .ck {
  width: 22px;
  height: 22px;
  background: var(--primary-soft);
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-features-list li strong {
  color: var(--text);
  font-weight: 600;
}

.product-visual {
  position: relative;
}

.product-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #fff;
  padding: 20px;
}

.product-visual .spec-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.product-visual .spec-card .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.product-visual .spec-card .label {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ============ 产品大图展示墙 ============ */
.product-gallery {
  background: var(--bg-white);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
}

.gallery-item:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}

.gallery-item .name {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

/* ============ 解决方案详情 ============ */
.solution-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.solution-section:last-child {
  border: 0;
}

.solution-head-block {
  text-align: center;
  margin-bottom: 50px;
}

.solution-head-block .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.25);
}

.solution-head-block h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.solution-head-block .sub-en {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.solution-head-block p {
  color: var(--text-2);
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
}

.flow-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.flow-section h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 30px;
}

.flow-image {
  width: 100%;
  border-radius: var(--radius);
  background: #fff;
}

.solution-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}

.detail-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.detail-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card h4::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}

.detail-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.solution-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.solution-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.solution-image img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  padding: 20px;
}

/* ============ 联系页 ============ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.contact-page-info {
  background: linear-gradient(135deg, #001F3F 0%, #003D7A 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-page-info::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-page-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.contact-page-info > p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  font-size: 15px;
  position: relative;
}

.contact-page-list {
  position: relative;
}

.contact-page-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-page-item:last-child {
  border: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.contact-page-item .ic {
  width: 48px;
  height: 48px;
  background: rgba(0, 180, 255, 0.15);
  border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-page-item .lb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  letter-spacing: 1.5px;
}

.contact-page-item .vl {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.contact-page-item .vl.phone {
  font-size: 26px;
  color: var(--accent);
  font-weight: 800;
}

.map-card {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 180, 255, 0.2);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  position: relative;
}

.map-card .city {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.map-card .addr {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-page-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
}

.contact-page-form h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-page-form .form-sub {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 28px;
}

@media (max-width: 992px) {
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding: 14px 14px 14px 50px; }
  .timeline-dot { left: 12px !important; right: auto !important; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .product-section .container,
  .product-section.reverse .container { grid-template-columns: 1fr; }
  .product-section.reverse .product-info { order: 1; }
  .product-section.reverse .product-visual { order: 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-detail-grid { grid-template-columns: 1fr; }
  .solution-images { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-page-info, .contact-page-form { padding: 36px 24px; }
  .page-banner h1 { font-size: 32px; }
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .page-banner { padding: 130px 0 60px; }
  .page-banner h1 { font-size: 26px; }
}
