/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE — Page-specific styles only.
   Shared hero components (hero-bg-grid, breadcrumb-nav, hero-labels,
   journey-*, scroll-*, hero-watermark, hero-split-container, etc.)
   are defined globally in style.css § 18.
   ═══════════════════════════════════════════════════════════════ */

/* About Hero: padding override (slightly different from default) */
.about-hero {
  padding: 128px 0 var(--section-padding) !important;
}

/* About-only: section overrides */
#vision.about-section {
  padding: var(--section-padding) 0 !important;
}

/* About-only: scroll-text pulse animation */
.scroll-text {
  animation: scroll-pulse 2.5s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(4px); }
}

/* 1. Page Section Heading */
.section-title-large {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ips-text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-title-large span { color: var(--ips-red); }

/* 2. Bento Grid System — About Page 3-Column */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 24px;
}

.bento-item {
  background: var(--ips-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ips-red-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--ips-red-rgb), 0.2);
  transform: translateY(-4px);
  cursor: pointer;
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-image {
  grid-column: span 1;
  grid-row: span 2;
  padding: 0;
}
.bento-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-item.bento-image:hover .bento-img { transform: scale(1.05); }

.bento-glass-overlay {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.overlay-data {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ips-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bento-stat {
  grid-column: span 1;
  grid-row: span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}
.stat-content { text-align: center; }
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ips-muted);
  margin: 0;
}

/* 3. Principles Linear Hub */
.principles-linear-hub {
  position: relative;
  max-width: 1000px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 110px;
}
.hub-brand-left {
  position: relative;
  flex-shrink: 0;
  width: 160px;
  height: 160px;
}
.hub-logo-large {
  width: 100%; height: 100%;
  background: var(--ips-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(var(--ips-red-rgb), 0.08), var(--shadow-md);
  border: 1px solid var(--ips-red-border);
  position: relative;
  z-index: 2;
  animation: hub-pulse 4s ease-in-out infinite;
}
.hub-logo-large img { width: 100%; height: auto; object-fit: contain; }

.hub-svg-linear {
  position: absolute;
  top: 50%; left: 140px;
  width: 140px; height: 600px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.hub-line-path {
  stroke: rgba(var(--ips-red-rgb), 0.5);
  stroke-width: 3px;
  stroke-dasharray: 10, 10;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 0 4px rgba(var(--ips-red-rgb), 0.3));
  animation: line-dash 2s linear infinite;
}
.hub-cards-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.hub-card {
  background: var(--ips-glass);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  padding: 20px 28px;
  border-radius: 16px;
  border: 1px solid rgba(var(--ips-red-rgb), 0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 5;
  overflow: hidden;
}
.card-glow-mesh {
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(var(--ips-red-rgb), 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: -1;
  pointer-events: none;
}
.card-index {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(var(--ips-red-rgb), 0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: all 0.6s var(--ease-out);
}
.hub-card:hover {
  transform: translateX(15px);
  border-color: rgba(var(--ips-red-rgb), 0.4);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(var(--ips-red-rgb), 0.12);
}
.hub-card:hover .card-glow-mesh { opacity: 1; }
.hub-card:hover .card-index { color: rgba(var(--ips-red-rgb), 0.08); transform: translateX(-10px); }

.hub-card .value-icon-box {
  background: white;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ips-red);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(var(--ips-red-rgb), 0.1);
  border: 1px solid rgba(var(--ips-red-rgb), 0.1);
  transition: all 0.4s ease;
}
.hub-card:hover .value-icon-box {
  background: var(--ips-red);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(var(--ips-red-rgb), 0.3);
}
.hub-card .value-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--ips-text);
  line-height: 1.2;
}
.hub-card .value-desc-zh {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ips-text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.hub-card .value-desc-en {
  color: var(--ips-text);
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
}
.hub-card .value-list { padding: 0; margin: 0; list-style: none; }
.hub-card .value-list li {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ips-text);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.hub-card .value-list li::before {
  content: "→";
  color: var(--ips-red);
  font-weight: 900;
  font-size: 1.1rem;
  opacity: 0.8;
}
.value-highlight { font-weight: 900; color: var(--ips-red); }

@keyframes hub-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(var(--ips-red-rgb), 0.1), var(--shadow-lg); }
  50% { box-shadow: 0 0 80px rgba(var(--ips-red-rgb), 0.2), var(--shadow-lg); }
}
@keyframes line-dash { to { stroke-dashoffset: -32; } }

/* 4. Enterprise Timeline */
.pro-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--section-padding) 0;
  perspective: 2000px;
}
.pro-timeline-line {
  position: absolute;
  top: 0; left: 50%;
  width: 60px; height: 100%;
  transform: translateX(-50%);
  overflow: visible;
}
.pro-timeline-line::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; width: 4px; height: 100%;
  background: rgba(var(--ips-red-rgb), 0.05);
  transform: translateX(-50%);
}
.pro-timeline-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400' preserveAspectRatio='none'%3E%3Cpath d='M50,0 Q100,100 50,200 Q0,300 50,400' fill='none' stroke='rgba(217, 4, 41, 0.4)' stroke-width='4' stroke-dasharray='10,12'/%3E%3C/svg%3E");
  background-size: 100% 400px;
  background-repeat: repeat-y;
  animation: line-progress-curvy 15s linear infinite;
}
@keyframes line-progress-curvy {
  from { background-position: 0 0; }
  to { background-position: 0 400px; }
}
.pro-timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.pro-timeline-dot {
  position: absolute;
  top: 15px; left: 50%;
  width: 20px; height: 20px;
  background: var(--ips-red);
  border: 3px solid var(--ips-white);
  border-radius: 50%;
  transform: translateX(-50%) translateZ(20px);
  z-index: 10;
  box-shadow: 0 0 15px rgba(var(--ips-red-rgb), 0.3);
}
.pro-timeline-content {
  width: calc(50% - 60px);
  position: relative;
  background: var(--ips-glass);
  backdrop-filter: blur(20px);
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid rgba(var(--ips-red-rgb), 0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}
.pro-timeline-content.left {
  margin-right: auto;
  text-align: right;
  transform-origin: right center;
  transform: perspective(1000px) rotateY(15deg);
}
.pro-timeline-content.right {
  margin-left: auto;
  text-align: left;
  transform-origin: left center;
  transform: perspective(1000px) rotateY(-15deg);
}
.pro-timeline-item:hover .pro-timeline-content {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  border-color: rgba(var(--ips-red-rgb), 0.3);
  box-shadow: 0 25px 50px rgba(var(--ips-red-rgb), 0.1);
}
.pro-timeline-date {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--ips-red);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
  background: rgba(var(--ips-red-rgb), 0.05);
  padding: 2px 10px;
  border-radius: 20px;
  transform: translateZ(30px);
}
.pro-timeline-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ips-text);
  transform: translateZ(20px);
}
.pro-timeline-desc {
  color: var(--ips-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.pro-timeline-img {
  display: block;
  margin: 15px auto 0;
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border: 1px solid var(--ips-border);
  transition: transform 0.5s ease;
}
.pro-timeline-item:hover .pro-timeline-img { transform: translateZ(40px) scale(1.05); }

/* 5. Responsive — About only */
@media (max-width: 1024px) {
  .principles-linear-hub {
    flex-direction: column;
    gap: 30px;
    margin: 20px auto;
    text-align: center;
  }
  .hub-brand-left { width: 140px; height: 140px; }
  .hub-svg-linear { display: none; }
  .hub-card:hover { transform: translateY(-8px); }
  .hub-card .value-icon-box { margin-left: auto; margin-right: auto; }
}

@media (max-width: 992px) {
  .about-section { padding: var(--section-padding-mobile) 0 !important; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-image, .bento-stat { grid-column: span 1; }
  .bento-stat { padding: 24px; background: white; }
  .about-section .section-header { margin-bottom: 32px; }

  .pro-timeline-line { left: 20px; }
  .pro-timeline-dot { left: 20px; }
  .pro-timeline-content {
    width: calc(100% - 60px);
    margin-left: auto !important;
    text-align: left !important;
  }
}

@media (max-width: 576px) {
  .section-title-large { font-size: 1.25rem; }
}
