.an-page-header {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: left;
  background: linear-gradient(180deg, #fff1f3 22%, #ffb3b3 100%, #ffffff 0%);
}
 
.an-page-header-inner {
  width: min(var(--max-w), 100% - 2.5rem);
  margin-inline: auto;
}

.an-page-header .an-section-label {
  color: var(--burgundy);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.an-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.2;
  margin-bottom: 1rem; 
}

.an-page-header p {
  font-size: 1.1rem;
  color: var(--burgundy-mid);
}

.an-stats-section {
  background: var(--white, #ffffff);
  padding: 40px 0;
  border-top: 1px solid var(--grey-1, #eaeaea);
  border-bottom: 1px solid var(--grey-1, #eaeaea);
  box-shadow: inset 0 10px 30px rgba(110, 58, 67, 0.02);
  scroll-margin-top: calc(var(--nav-h, 70px) + 20px);
}

.an-container {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

.an-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.an-stat-item {
  text-align: center;
  padding: 15px 15px;
  border-right: 1px solid var(--grey-2, #e0e0e0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.an-stat-item:last-child {
  border-right: none;
}

.an-stat-item.an-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.an-stat-item.an-visible:nth-child(1) { transition-delay: 0s; }
.an-stat-item.an-visible:nth-child(2) { transition-delay: 0.2s; }
.an-stat-item.an-visible:nth-child(3) { transition-delay: 0.4s; }

.an-stat-icon {
  color: var(--rose-deep, #a24857);
  font-size: 1.5rem;
  margin-bottom: 12px;
  background: var(--rose-pale, #fbeee0);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-stat-num {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-stat-label {
  font-size: 0.9rem;
  color: var(--text-light, #666666);
  line-height: 1.5;
  max-width: 326px;
}

.info-container {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  margin-top: 50px;
  padding: 0 20px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.design-card {
  background: var(--white, #ffffff);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
  border: 1px solid rgba(110, 58, 67, 0.04);
}

.design-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.design-title i {
  color: var(--rose-deep, #a24857);
  background: var(--rose-pale, #fbeee0);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.timeline {
  position: relative;
  padding-left: 30px;
  margin-left: 10px;
  border-left: 2px solid var(--rose-pale, #fbeee0);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  background: #fff;
  border-radius: var(--radius-sm, 8px);
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000), 
              transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000),
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item.an-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 20px rgba(110, 58, 67, 0.08);
  border-color: var(--rose-light, #f8c4c5);
}

.timeline-dot {
  position: absolute;
  left: -41px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white, #fff);
  border: 4px solid var(--rose-deep, #a24857);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--rose-menu, #e36061);
  opacity: 0;
  animation: dotPulse 2.5s infinite ease-out;
  pointer-events: none;
}

.timeline-item.highlight .timeline-dot {
  background: var(--rose-deep, #a24857);
  box-shadow: 0 0 0 5px var(--rose-pale, #fbeee0);
}

.timeline-item.highlight .timeline-dot::after {
  border-color: #ffcf36;
}

.timeline-date {
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.timeline-date .badge-extended {
  background: #d5435d;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}

.timeline-content {
  color: var(--text-mid, #555555);
  font-size: 0.98rem;
  line-height: 1.5;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.guideline-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--rose-deep, #a24857);
}

.guideline-card h4 {
  margin: 0 0 8px 0;
  color: var(--burgundy, #6e3a43);
  font-size: 1.05rem;
}

.structure-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #fdfafb;
  padding: 20px;
  border-radius: 8px;
  border: 1px dashed var(--rose-deep, #a24857);
}

.structure-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-mid, #555555);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
}

.structure-item:hover {
  transform: translateX(6px);
  background-color: var(--rose-blush, #fef6f6);
}

.structure-item i {
  color: #28a745;
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.structure-item:hover i {
  transform: scale(1.25) rotate(8deg);
  color: var(--rose-deep, #8a4a55);
}

.an-fade-up-item {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.an-fade-up-item.an-visible {
  opacity: 1;
  transform: translateY(0);
}


.btn-container {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.primary-btn, .secondary-btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.primary-btn {
  background: var(--burgundy, #6e3a43);
  color: #fff;
}

.primary-btn:hover {
  background: var(--rose-deep, #a24857);
  transform: translateY(-2px);
}

.secondary-btn {
  background: var(--rose-pale, #fbeee0);
  color: var(--burgundy, #6e3a43);
}

.secondary-btn:hover {
  background: #f3dfca;
  transform: translateY(-2px);
}


@keyframes dotPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes shineBadge {
  0% { left: -100%; }
  20% { left: 150%; }
  100% { left: 150%; }
}


@media (max-width: 992px) {
  .an-stats-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
  }
  .an-stat-item { 
    border-right: none; 
  }
  .an-stat-item:nth-child(odd) { 
    border-right: 1px solid var(--grey-2, #e0e0e0); 
  }
  .guidelines-grid { 
    grid-template-columns: 1fr; 
  }
}

@media (max-width: 768px) {
  .an-page-header { 
    padding-top: calc(var(--nav-h) + 40px); 
  }
  .design-card { 
    padding: 25px 20px; 
  }
  .btn-container { 
    flex-direction: column; 
  }
  .primary-btn, .secondary-btn { 
    justify-content: center; 
  }
}

@media (max-width: 576px) {
  .an-stats-grid { 
    grid-template-columns: 1fr; 
    gap: 15px; 
  }
  .an-stat-item { 
    border-right: none !important; 
    border-bottom: 1px solid var(--grey-1, #eaeaea); 
    padding-bottom: 15px; 
  }
  .an-stat-item:last-child { 
    border-bottom: none; 
  }
  .structure-list { 
    grid-template-columns: 1fr; 
  }
}