/* ==========================================================================
   SAIXI PET - Single Page / About Us Template Styling (lists_single.htm)
   Matches exact layout & design of Wanpy / Global Pet Food Corporate site
   ========================================================================== */

.saixi-about-page {
  background: #ffffff;
  color: #0f172a;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

.about-page-container {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

/* ==================== 1. HERO BANNER SECTION (.saixi-channel-banner is in common.css) ==================== */

/* ==================== 2. COMPANY PROFILE SECTION ==================== */
.about-profile-intro {
  padding: 64px 0 72px;
  background: #ffffff;
}

.about-profile-intro__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.about-eyebrow {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-eyebrow span,
.about-company-story__content h2 span {
  color: var(--primary, #3f7fff);
}

.about-profile-intro__text {
  max-width: 720px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-profile-intro__text p {
  margin: 0 0 10px 0;
}

.about-profile-intro__text p:last-child {
  margin-bottom: 0;
}

.about-scroll-cue {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary, #2563eb);
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 6px;
  text-decoration: none;
  background: rgba(37, 99, 235, 0.03);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Outer continuously rotating dashed border ring */
.about-scroll-cue::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(37, 99, 235, 0.85);
  animation: spinDashedBorder 8s linear infinite;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

/* Arrow inside stays clean and stable without bouncing */
.about-scroll-cue i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-scroll-cue:hover {
  transform: scale(1.12);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark, #1d4ed8);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.about-scroll-cue:hover::before {
  border-color: var(--primary-dark, #1d4ed8);
  animation-duration: 4s;
}

@keyframes spinDashedBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-profile-intro__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

/* Shimmer sweep overlay on reveal */
.about-profile-intro__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 2;
  transition: none;
}

.about-profile-intro__image-wrap.is-visible::after {
  animation: imgShimmerSweep 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.55s forwards;
}

@keyframes imgShimmerSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.about-profile-intro__image {
  width: 100%;
  height: clamp(240px, 26vw, 420px);
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Inner image: zoom-out on reveal */
  transform: scale(1.06);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.about-profile-intro__image-wrap.is-visible .about-profile-intro__image {
  transform: scale(1);
}


/* ==================== 3. GLOBAL LEADER STORY SECTION ==================== */
.about-company-story {
  padding: 80px 0;
  background: #ffffff;
}

.about-company-story__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.about-company-story__media img {
  width: 100%;
  height: clamp(380px, 35vw, 540px);
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.about-company-story__content .about-eyebrow-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary, #3f7fff);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-company-story__content h2 {
  margin: 0 0 24px;
  color: #0f172a;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.about-company-story__content p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.75;
}

.about-company-story__content p:last-child {
  margin-bottom: 0;
}

/* ==================== 4. VALUES & MISSION GRID SECTION ==================== */
.about-values {
  position: relative;
  width: 100%;
  padding: 80px 0 90px;
  overflow: hidden;
  background: #f8fafc url('../picture/aboutbg1.png') center right / cover no-repeat;
  color: #0f172a;
}

.about-values__container {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

/* Header */
.about-values__header {
  text-align: center;
  margin-bottom: 56px;
}

.about-values__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary, #2563eb);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-values__tag .dot {
  font-size: 1.1rem;
  line-height: 1;
}

.about-values__title {
  color: #0f172a;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
  line-height: 1.15;
}

.about-values__line {
  width: 44px;
  height: 3.5px;
  background: var(--primary, #2563eb);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.about-values__desc {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* Grid & Items */
.about-values__grid-wrap {
  max-width: 70%;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
}

/* Horizontal & Vertical subtle divider lines */
.about-values__grid::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.about-values__grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.about-value-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 36px 32px;
}

.about-value-item__icon {
  display: inline-flex;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  min-width: 76px;
  min-height: 76px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  font-size: 1.85rem;
  color: var(--primary, #2563eb);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
  border: 3px solid rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-value-item:hover .about-value-item__icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.18);
  color: var(--primary-dark, #1d4ed8);
}

.about-value-item__body h3 {
  margin: 0 0 6px 0;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.about-value-item__divider {
  width: 32px;
  height: 2.5px;
  background: var(--primary, #2563eb);
  border-radius: 2px;
  margin-bottom: 10px;
}

.about-value-item__body p {
  max-width: 250px;
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
  .about-values__grid-wrap {
    max-width: 80%;
  }
}

@media (max-width: 992px) {
  .about-values__grid-wrap {
    max-width: 100%;
  }

  .about-company-story__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-company-story__media img {
    height: clamp(300px, 50vw, 450px);
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-values__grid::before,
  .about-values__grid::after {
    display: none;
  }

  .about-value-item {
    padding: 24px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .about-value-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .about-page-container {
    width: min(100% - 32px, 480px);
  }

  .about-hero-section {
    min-height: 300px;
  }

  .about-profile-intro {
    padding: 42px 0 0px;
  }

  .about-profile-intro__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .about-scroll-cue {
    display: none;
  }

  .about-company-story {
    padding: 48px 0;
  }

  .about-value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
  }

  .about-value-item__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    min-width: 48px;
    min-height: 48px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    font-size: 1.25rem;
    border-radius: 50%;
  }
}

/* ==================== DYNAMIC SCROLL ANIMATIONS (SLOWER & RICHER) ==================== */
[data-animate] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* From Left Slide */
[data-animate="fade-left"] {
  transform: translateX(-70px);
}

/* From Right Slide */
[data-animate="fade-right"] {
  transform: translateX(70px);
}

/* Slide Up */
[data-animate="slide-up"],
[data-animate="fade-up"] {
  transform: translateY(55px);
}

/* Smooth Zoom In */
[data-animate="zoom-in"] {
  transform: scale(0.88) translateY(30px);
}

/* 3D Flip Up */
[data-animate="flip-up"] {
  transform: perspective(1000px) rotateX(25deg) translateY(40px);
}

/* ---- Image Reveal (overlay translateX wipe + inner scale) ---- */
[data-animate="image-reveal"] {
  opacity: 1 !important;           /* 始终可见，不受全局 opacity:0 影响 */
  transform: none !important;      /* 不受全局 translateY 影响 */
  transition: box-shadow 1.2s ease;
}

/* 蓝色遮罩覆盖在图片上，揭幕时向右移出 */
[data-animate="image-reveal"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3e6e 0%, #3f7fff 100%);
  border-radius: 20px;
  z-index: 3;
  transform: translateX(0%);
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1) 0.1s;
}

[data-animate="image-reveal"].is-visible::before {
  transform: translateX(101%);
}

[data-animate="image-reveal"].is-visible {
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotateX(0deg);
}

/* Slower Staggered Delay Utilities */
.delay-1 { transition-delay: 0.20s; }
.delay-2 { transition-delay: 0.40s; }
.delay-3 { transition-delay: 0.60s; }
.delay-4 { transition-delay: 0.80s; }
.delay-5 { transition-delay: 1.00s; }


