/* ═══════════════════════════════════════════════════════════════
   syz-applications-pages.css
   SYZ Rod Ends — Applications Single Pages 共用样式
   适用页面：Agriculture / Industrial Automation / Off-Road / Humanoid Robot
   依赖：style.css, szr-components.css
   类前缀：ap-*
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   Hero
────────────────────────────────────────── */
.ap-hero {
  background: var(--szr-slate);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.ap-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.ap-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .12;
  pointer-events: none;
}

.ap-hero__inner {
  position: relative;
  z-index: 1;
}

.ap-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,111,168,.2);
  border: 1px solid rgba(26,111,168,.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--szr-f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--szr-steel);
  margin-bottom: 20px;
}

.ap-hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--szr-steel);
  flex-shrink: 0;
}

.ap-hero__title {
  font-family: var(--szr-f-head);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ap-hero__title em {
  color: var(--szr-steel);
  font-style: normal;
}

.ap-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.ap-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────
   Overview strip
────────────────────────────────────────── */
.ap-overview {
  padding: 56px 0;
  background: var(--szr-white);
}

.ap-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ap-overview__tag {
  display: inline-block;
  background: var(--szr-steel-lt);
  color: var(--szr-steel);
  font-family: var(--szr-f-head);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.ap-overview__h2 {
  font-family: var(--szr-f-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--szr-slate);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ap-overview__text {
  font-size: .95rem;
  color: var(--szr-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.ap-overview__img {
  width: 100%;
  border-radius: var(--szr-r);
  display: block;
  object-fit: cover;
  max-height: 380px;
}

/* ──────────────────────────────────────────
   Applications grid section
────────────────────────────────────────── */
.ap-apps {
  padding: 80px 0;
  background: var(--szr-bg-alt);
}

.ap-section-head {
  text-align: center;
  margin-bottom: 52px;
}

.ap-section-head__eyebrow {
  display: inline-block;
  font-family: var(--szr-f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--szr-steel);
  margin-bottom: 10px;
}

.ap-section-head__title {
  font-family: var(--szr-f-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--szr-slate);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ap-section-head__sub {
  font-size: .95rem;
  color: var(--szr-mid);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

.ap-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ap-app-card {
  background: var(--szr-white);
  border: 1px solid var(--szr-line);
  border-radius: var(--szr-r);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .22s var(--szr-ease);
}

.ap-app-card:hover {
  border-color: var(--szr-steel);
  box-shadow: 0 8px 32px rgba(26,111,168,.1);
  transform: translateY(-3px);
}

.ap-app-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ap-app-card__body {
  padding: 24px 28px;
}

.ap-app-card__title {
  font-family: var(--szr-f-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--szr-slate);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: .02em;
}

.ap-app-card__text {
  font-size: .875rem;
  color: var(--szr-mid);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   Why Choose Us (4-feature grid)
────────────────────────────────────────── */
.ap-why {
  padding: 80px 0;
  background: var(--szr-white);
}

.ap-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ap-why-card {
  padding: 28px 24px;
  border: 1px solid var(--szr-line);
  border-top: 3px solid var(--szr-steel);
  border-radius: var(--szr-r);
  background: var(--szr-white);
  transition: box-shadow .2s, transform .2s var(--szr-ease);
}

.ap-why-card:hover {
  box-shadow: 0 6px 24px rgba(26,111,168,.08);
  transform: translateY(-2px);
}

.ap-why-card__icon {
  width: 40px;
  height: 40px;
  background: var(--szr-steel-lt);
  border-radius: var(--szr-r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ap-why-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--szr-steel);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ap-why-card__title {
  font-family: var(--szr-f-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--szr-slate);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.ap-why-card__text {
  font-size: .83rem;
  color: var(--szr-mid);
  line-height: 1.65;
}

/* ──────────────────────────────────────────
   Specs bar
────────────────────────────────────────── */
.ap-specs {
  padding: 52px 0;
  background: var(--szr-slate);
  position: relative;
  overflow: hidden;
}

.ap-specs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.ap-specs__inner {
  position: relative;
  z-index: 1;
}

.ap-specs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ap-spec-item {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--szr-r);
  background: rgba(255,255,255,.04);
}

.ap-spec-item__value {
  font-family: var(--szr-f-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--szr-steel);
  line-height: 1;
  margin-bottom: 6px;
}

.ap-spec-item__label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* ──────────────────────────────────────────
   CTA band
────────────────────────────────────────── */
.ap-cta {
  padding: 72px 0;
  background: var(--szr-slate-mid);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ap-cta__title {
  font-family: var(--szr-f-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ap-cta__sub {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.ap-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────
   Responsive
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ap-why__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-specs__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-overview__grid { gap: 40px; }
}

@media (max-width: 768px) {
  .ap-hero { padding: 56px 0 48px; }
  .ap-hero__ctas { flex-direction: column; }
  .ap-overview__grid { grid-template-columns: 1fr; }
  .ap-app-grid { grid-template-columns: 1fr; }
  .ap-why__grid { grid-template-columns: 1fr; }
  .ap-specs__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-app-card__img { height: 180px; }
}

@media (max-width: 480px) {
  .ap-specs__grid { grid-template-columns: 1fr 1fr; }
}
