.an-container{
  text-align: left;
}

.an-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.an-page-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

.modern-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px 100px 20px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

.sticky-side {
  position: sticky;
  top: calc(var(--nav-h) + 30px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.design-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(110, 58, 67, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.design-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.design-title i {
  color: var(--rose-deep);
  background: var(--rose-pale);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.portal-card {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-mid) 100%);
  color: var(--white);
  padding: 35px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.portal-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--gold-pale);
}

.portal-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-modern-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--white);
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-modern-portal:hover {
  background: var(--gold-pale);
  transform: scale(1.02);
}

.fee-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--grey-2);
}

.fee-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fee-label {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
  padding-right: 15px;
}

.fee-value {
  font-weight: 700;
  color: var(--burgundy);
  font-size: 1.05rem;
  white-space: nowrap;
}

.fee-value .free-tag {
  color: #2e7d32;
  background: #e8f5e9;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

.fee-note-box {
  background: var(--rose-blush);
  border-left: 3px solid var(--rose-deep);
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-top: 25px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.notice-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-item {
  background: var(--off-white);
  border: 1px solid rgba(110, 58, 67, 0.03);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
    opacity: 0;
    transform: translateX(-50px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.notice-item:hover {
  background: #fff8f9;
  border-color: var(--rose-light);
}


.notice-item:nth-child(1) { transition-delay: 0s; }
.notice-item:nth-child(2) { transition-delay: 0.1s; }
.notice-item:nth-child(3) { transition-delay: 0.2s; }
.notice-item:nth-child(4) { transition-delay: 0.3s; }
.notice-item:nth-child(5) { transition-delay: 0.4s; }
.notice-item:nth-child(6) { transition-delay: 0.5s; }
.notice-item:nth-child(7) { transition-delay: 0.6s; }
.notice-item:nth-child(8) { transition-delay: 0.7s; }
.notice-item:nth-child(9) { transition-delay: 0.8s; }

.notice-icon-wrapper {
  background: var(--white);
  color: var(--rose-dark);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.notice-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding-top: 2px;
}

.an-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

@media(max-width: 1024px) {
  .modern-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sticky-side {
    position: static;
  }
}

@media(max-width: 768px) {
  .an-page-header { padding-top: calc(var(--nav-h) + 40px); }
  .an-page-header h1 { font-size: 28px; }
  .design-card { padding: 30px 20px; }
  .fee-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .fee-value { text-align: left; }
}