/* ============================================
   关于我们页面 - 玄门风格
   About Us Page - Xuanmen Style
   ============================================ */

/* ---- 动画基础 ---- */
.ab-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ab-animate.ab-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero Section ---- */
.ab-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
}

.ab-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(196, 139, 58, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(196, 139, 58, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(196, 139, 58, 0.05) 0%, transparent 30%);
}

/* 八卦底纹 */
.ab-bagua-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.03;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='48' fill='none' stroke='%23c48b3a' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23c48b3a' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%23c48b3a' stroke-width='0.5'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: abBaguaSpin 120s linear infinite;
}

@keyframes abBaguaSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ab-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
}

/* 印章 */
.ab-seal {
  width: 100px;
  height: 100px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.ab-seal-char {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Noto Serif SC", serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #c48b3a;
  text-shadow: 0 0 30px rgba(196, 139, 58, 0.5);
}

.ab-seal-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(196, 139, 58, 0.4);
  border-radius: 50%;
  animation: abSealPulse 3s ease-in-out infinite;
}

.ab-seal-ring::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 1px solid rgba(196, 139, 58, 0.2);
  border-radius: 50%;
}

@keyframes abSealPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

.ab-hero-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fafafa;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.ab-hero-sub {
  font-size: 1.1rem;
  color: #c48b3a;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* 分隔符 */
.ab-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.ab-divider span {
  width: 6px;
  height: 6px;
  background: #c48b3a;
  border-radius: 50%;
  opacity: 0.6;
}

.ab-divider span:nth-child(2) {
  width: 10px;
  height: 10px;
  opacity: 1;
}

.ab-hero-quote {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #a3a3a3;
  line-height: 2;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-style: italic;
}

.ab-hero-quote strong {
  color: #d4a04d;
  font-weight: 600;
}

/* 数据统计 */
.ab-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(196, 139, 58, 0.2);
}

.ab-hero-stat {
  text-align: center;
}

.ab-stat-num {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #c48b3a;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ab-stat-label {
  font-size: 0.85rem;
  color: #737373;
  letter-spacing: 0.1em;
}

/* 滚动提示 */
.ab-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #525252;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  animation: abScrollBounce 2s ease-in-out infinite;
}

.ab-scroll-hint svg {
  opacity: 0.5;
}

@keyframes abScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- 通用 Section 样式 ---- */
.ab-section {
  padding: 6rem 0;
  position: relative;
}

.ab-section.dark {
  background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}

.ab-section.light {
  background: #fafafa;
}

.ab-section.alt {
  background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 100%);
}

.ab-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.ab-section-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: #c48b3a;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.ab-section-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.dark .ab-section-title {
  color: #fafafa;
}

.light .ab-section-title,
.alt .ab-section-title {
  color: #0a0a0a;
}

.ab-section-desc {
  font-size: 1rem;
  color: #737373;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- 故事 Section ---- */
.ab-story {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.ab-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(196, 139, 58, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(196, 139, 58, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.ab-story-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ab-story-block {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(196, 139, 58, 0.1);
  border-radius: 12px;
  position: relative;
  transition: all 0.4s ease;
}

.ab-story-block:hover {
  border-color: rgba(196, 139, 58, 0.3);
  background: rgba(196, 139, 58, 0.03);
}

.ab-story-block:last-child {
  margin-bottom: 0;
}

.ab-story-year {
  position: absolute;
  top: -1px;
  left: 2rem;
  background: #0a0a0a;
  padding: 0 1rem;
  font-family: "Noto Serif SC", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #c48b3a;
  letter-spacing: 0.1em;
  transform: translateY(-50%);
}

.ab-story-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  padding-left: 1rem;
  border-left: 3px solid #c48b3a;
}

.ab-story-text {
  color: #a3a3a3;
  line-height: 2;
  font-size: 0.95rem;
}

.ab-story-text p {
  margin-bottom: 1rem;
}

.ab-story-text p:last-child {
  margin-bottom: 0;
}

.ab-story-text strong {
  color: #d4a04d;
  font-weight: 600;
}

.ab-story-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(196, 139, 58, 0.08);
  border-radius: 8px;
  font-style: italic;
  color: #c48b3a;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- 大师 Section ---- */
.ab-master {
  background: #fafafa;
  position: relative;
}

.ab-master-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.ab-master-photo {
  position: relative;
}

.ab-master-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e5e5e5, #f5f5f5);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  border: 1px dashed #d4d4d4;
  margin-bottom: 1.5rem;
}

.ab-master-img svg {
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.ab-master-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a0a0a;
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.ab-master-title {
  font-size: 0.85rem;
  color: #c48b3a;
  text-align: center;
  letter-spacing: 0.1em;
}

.ab-master-content h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.ab-master-lead {
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  color: #525252;
  line-height: 1.9;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid #c48b3a;
  font-style: italic;
}

.ab-master-bio {
  color: #525252;
  line-height: 2;
  font-size: 0.95rem;
}

.ab-master-bio p {
  margin-bottom: 1.25rem;
}

.ab-master-bio strong {
  color: #0a0a0a;
  font-weight: 600;
}

/* 方法论 */
.ab-method {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-radius: 12px;
}

.ab-method-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #c48b3a;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.ab-method-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ab-method-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(196, 139, 58, 0.15);
}

.ab-method-icon {
  width: 36px;
  height: 36px;
  background: rgba(196, 139, 58, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c48b3a;
  flex-shrink: 0;
}

.ab-method-text {
  font-size: 0.85rem;
  color: #a3a3a3;
}

.ab-method-text strong {
  display: block;
  color: #fafafa;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ---- 理念 Section ---- */
.ab-principles {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}

.ab-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.ab-principle-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(196, 139, 58, 0.12);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.ab-principle-card:hover {
  border-color: rgba(196, 139, 58, 0.4);
  background: rgba(196, 139, 58, 0.05);
  transform: translateY(-5px);
}

.ab-principle-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(196, 139, 58, 0.2), rgba(196, 139, 58, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c48b3a;
  margin-bottom: 1.25rem;
}

.ab-principle-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.ab-principle-desc {
  color: #a3a3a3;
  line-height: 1.8;
  font-size: 0.9rem;
}

/* ---- 感言 Section ---- */
.ab-testimonials {
  background: #fafafa;
}

.ab-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ab-testimonial-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: all 0.4s ease;
}

.ab-testimonial-card:hover {
  border-color: #c48b3a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.ab-testimonial-card.featured {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-color: rgba(196, 139, 58, 0.3);
}

.ab-testimonial-card.featured .ab-testimonial-text {
  color: #d4d4d4;
}

.ab-testimonial-card.featured .ab-testimonial-name {
  color: #fafafa;
}

.ab-testimonial-card.featured .ab-testimonial-role {
  color: #737373;
}

.ab-testimonial-quote {
  font-family: "Noto Serif SC", serif;
  font-size: 3rem;
  color: #c48b3a;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ab-testimonial-text {
  color: #525252;
  line-height: 1.9;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.ab-testimonial-author {
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.ab-testimonial-card.featured .ab-testimonial-author {
  border-color: #333;
}

.ab-testimonial-name {
  font-weight: 600;
  color: #0a0a0a;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.ab-testimonial-role {
  font-size: 0.8rem;
  color: #737373;
}

/* ---- FAQ Section ---- */
.ab-faq {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}

.ab-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ab-faq-item {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(196, 139, 58, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ab-faq-item:hover {
  border-color: rgba(196, 139, 58, 0.3);
}

.ab-faq-item.active {
  border-color: #c48b3a;
  background: rgba(196, 139, 58, 0.05);
}

.ab-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #fafafa;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.ab-faq-q:hover {
  background: rgba(196, 139, 58, 0.05);
}

.ab-faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  color: #c48b3a;
  transition: transform 0.3s ease;
}

.ab-faq-item.active .ab-faq-icon {
  transform: rotate(180deg);
}

.ab-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.ab-faq-item.active .ab-faq-a {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
}

.ab-faq-a-inner {
  color: #a3a3a3;
  line-height: 1.9;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 139, 58, 0.15);
  font-size: 0.9rem;
}

.ab-faq-a-inner p {
  margin-bottom: 0.75rem;
}

.ab-faq-a-inner p:last-child {
  margin-bottom: 0;
}

.ab-faq-a-inner strong {
  color: #d4a04d;
}

/* ---- CTA Section ---- */
.ab-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
  position: relative;
  overflow: hidden;
}

.ab-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(196, 139, 58, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ab-cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.ab-cta-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fafafa;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.ab-cta-desc {
  color: #a3a3a3;
  line-height: 1.9;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.ab-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.ab-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ab-cta-btn.primary {
  background: linear-gradient(135deg, #c48b3a, #b5782f);
  color: #fff;
  box-shadow: 0 10px 30px rgba(196, 139, 58, 0.3);
}

.ab-cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(196, 139, 58, 0.4);
}

.ab-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 139, 58, 0.3);
  color: #fafafa;
}

.ab-cta-btn.secondary:hover {
  background: rgba(196, 139, 58, 0.1);
  border-color: #c48b3a;
}

.ab-cta-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #525252;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .ab-hero-stats {
    gap: 2rem;
  }
  
  .ab-stat-num {
    font-size: 2rem;
  }
  
  .ab-master-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .ab-master-photo {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .ab-principles-grid {
    grid-template-columns: 1fr;
  }
  
  .ab-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ab-method-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ab-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  .ab-seal {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
  }
  
  .ab-seal-char {
    font-size: 2.2rem;
  }
  
  .ab-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .ab-scroll-hint {
    display: none;
  }
  
  .ab-section {
    padding: 4rem 0;
  }
  
  .ab-section-header {
    margin-bottom: 3rem;
  }
  
  .ab-story-block {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }
  
  .ab-story-year {
    left: 1.5rem;
  }
  
  .ab-testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .ab-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .ab-cta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .ab-cta-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .ab-hero-title {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
  }
  
  .ab-hero-sub {
    font-size: 0.95rem;
  }
  
  .ab-bagua-pattern {
    width: 300px;
    height: 300px;
  }
  
  .ab-story-block {
    padding: 1.5rem 1.25rem;
  }
  
  .ab-story-title {
    font-size: 1.15rem;
  }
  
  .ab-principle-card {
    padding: 1.5rem;
  }
  
  .ab-testimonial-card {
    padding: 1.5rem;
  }
  
  .ab-method {
    padding: 1.5rem;
  }
}
