/* ============================================================
   about-tech.css — about-tech.html 专属样式
   从 about.css 拆分 (2026-07-15)
   ============================================================ */

/* ===== Honors ===== */
.about-honors-section {
  background: var(--color-charcoal);
}

.honors-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .honors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.honor-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.honor-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

.honor-card-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.honor-card p {
  color: var(--color-gray-300);
  font-size: 0.919rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

/* ===== Patent Gallery ===== */
.patent-section {
  background: var(--color-charcoal);
}

/* Patent section: section-padding reduced by a total of 36% */
.patent-section.section-padding {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .patent-section.section-padding {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

@media (min-width: 1280px) {
  .patent-section.section-padding {
    padding-top: 115px;
    padding-bottom: 115px;
  }
}

@media (max-width: 1023px) {
  .patent-section.section-padding {
    padding-top: 51px;
    padding-bottom: 51px;
  }
}

@media (max-width: 767px) {
  .patent-section.section-padding {
    padding-top: 38px;
    padding-bottom: 38px;
  }
}

.patent-showcase-outer {
  position: relative;
  padding: 48px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.patent-showcase-outer::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}

.patent-showcase {
  position: relative;
  width: 100%;
  --patent-gap: 16px;
  --patent-visible: 5;
  --patent-duration: 30s;
}

.patent-showcase-viewport {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.patent-showcase-track {
  display: flex;
  gap: var(--patent-gap);
  width: max-content;
  animation: patent-marquee var(--patent-duration) linear infinite;
  will-change: transform;
}

.patent-showcase:hover .patent-showcase-track {
  animation-play-state: paused;
}

.patent-showcase-slide {
  flex: 0 0 auto;
  width: calc((var(--viewport-width, 100vw) - (var(--patent-visible) - 1) * var(--patent-gap)) / var(--patent-visible));
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.patent-showcase-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.patent-showcase-prev,
.patent-showcase-next,
.patent-showcase-dots {
  display: none;
}

@media (max-width: 1199px) {
  .patent-showcase-outer {
    padding: 36px;
    border-radius: 20px;
  }

  .patent-showcase {
    --patent-visible: 3;
  }

  .patent-showcase-slide {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .patent-showcase-outer {
    padding: 24px;
    border-radius: 16px;
  }

  .patent-showcase {
    --patent-visible: 2;
    --patent-gap: 12px;
  }

  .patent-showcase-slide {
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .patent-showcase-track {
    animation: none;
  }
}

@keyframes patent-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Lightbox */
.patent-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 48px 64px;
}

.patent-lightbox[hidden] {
  display: none;
}

.patent-lightbox-stage {
  max-width: 90vw;
  max-height: 90vh;
}

.patent-lightbox-stage img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.patent-lightbox-close,
.patent-lightbox-prev,
.patent-lightbox-next {
  position: absolute;
  border: none;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.patent-lightbox-close:hover,
.patent-lightbox-prev:hover,
.patent-lightbox-next:hover {
  color: var(--color-gold);
}

.patent-lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
}

.patent-lightbox-close svg {
  width: 28px;
  height: 28px;
}

.patent-lightbox-prev,
.patent-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.patent-lightbox-prev svg,
.patent-lightbox-next svg {
  width: 32px;
  height: 32px;
}

.patent-lightbox-prev {
  left: 16px;
}

.patent-lightbox-next {
  right: 16px;
}

@media (max-width: 767px) {
  .patent-lightbox {
    padding: 64px 16px;
  }

  .patent-lightbox-prev,
  .patent-lightbox-next {
    display: none;
  }

  .patent-lightbox-stage img {
    max-height: 80vh;
  }
}

/* ===== Who We Are / Atent Section (ac.png replica) ===== */
.atent-section {
  background: #f8f8f8;
}

.atent-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .atent-wrapper {
    grid-template-columns: 1.15fr 1fr;
    gap: 52px;
  }
}

@media (min-width: 1280px) {
  .atent-wrapper {
    gap: 65px;
  }
}

.atent-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.atent-media img {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 90%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.atent-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #e94e1b;
  color: #ffffff;
  padding: 26px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 170px;
}

.atent-badge::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.atent-badge-small {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.atent-badge-number {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  margin: 8px 0;
  font-family: var(--font-serif);
}

.atent-content {
  color: #111111;
}

.atent-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e94e1b;
  margin-bottom: 16px;
}

.atent-title {
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
  margin-bottom: 20px;
}

.atent-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 28px;
  max-width: 520px;
}

.atent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e94e1b;
  border: 2px solid #e94e1b;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.atent-btn:hover {
  background: #e94e1b;
  color: #ffffff;
}

@media (max-width: 1023px) {
  .atent-wrapper {
    gap: 32px;
  }

  .atent-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  .atent-wrapper {
    gap: 28px;
  }

  .atent-media {
    aspect-ratio: 4 / 3;
  }

  .atent-badge {
    padding: 18px 24px;
    min-width: 134px;
  }

  .atent-badge-number {
    font-size: 2.75rem;
  }

  .atent-badge-small {
    font-size: 0.75rem;
  }

  .atent-title {
    font-size: 1.625rem;
  }

  .atent-text {
    font-size: 0.9375rem;
  }
}

/* ===== Stats Section (about-tech.html "研发实力"区块) =====
   从 components/content-sections.css 迁入 — 仅 about-tech.html 使用。
   tech-card / products-section / milestones 等未使用块未随迁。 */
.stats-section {
  background: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 169, 110, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201, 169, 110, 0.02) 0%, transparent 50%);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 32px;
}

@media (min-width: 768px) {
  .stats-grid {
    gap: 32px;
  }
}

.stat-item {
  flex: 0 1 calc(50% - 16px);
  max-width: 280px;
  text-align: center;
}

@media (min-width: 768px) {
  .stat-item {
    flex: 0 1 calc(25% - 24px);
    max-width: 260px;
  }
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9625rem;
  color: var(--color-gray-400);
  letter-spacing: 0.05em;
}
