/**
 * 关于我们页面样式 - 黑金版 v2
 * 温度感 · 故事化 · 动效丰富
 */

/* ========================================
   1. Hero - 个人介绍
   ======================================== */
.ab-hero {
    position: relative;
    padding: 140px 0 100px;
    background: var(--brown-900);
    overflow: hidden;
    color: #fff;
}

.ab-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 30% 30%, rgba(196,139,58,0.1) 0%, transparent 60%),
        radial-gradient(circle at 75% 70%, rgba(196,139,58,0.06) 0%, transparent 40%);
    pointer-events: none;
}

/* 浮动装饰汉字 */
.ab-float-chars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ab-fc {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-family: "Noto Serif SC", serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: rgba(196,139,58,0.04);
    animation: ab-float var(--dur) ease-in-out var(--delay) infinite alternate;
    user-select: none;
}

@keyframes ab-float {
    0%   { transform: translateY(0) rotate(-3deg); }
    100% { transform: translateY(-20px) rotate(3deg); }
}

.ab-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 64px;
}

/* 头像区域 */
.ab-hero-portrait {
    flex-shrink: 0;
    position: relative;
    width: 220px;
    height: 220px;
}

.ab-portrait-ring {
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(196,139,58,0.2);
    border-radius: 50%;
    animation: ab-ring-spin 25s linear infinite;
}

.ab-portrait-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--gold-500);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(196,139,58,0.5);
}

.ab-portrait-ring::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--gold-300);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(196,139,58,0.4);
}

@keyframes ab-ring-spin {
    to { transform: rotate(360deg); }
}

.ab-portrait-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brown-700), var(--brown-800));
    border: 2px solid rgba(196,139,58,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 24px 80px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.ab-portrait-char {
    font-family: "Noto Serif SC", serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold-400);
    text-shadow: 0 4px 20px rgba(196,139,58,0.3);
}

.ab-portrait-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* 文字区域 */
.ab-hero-text {
    flex: 1;
    min-width: 0;
}

.ab-hero-hello {
    font-size: 1rem;
    color: var(--brown-200);
    margin-bottom: 4px;
}

.ab-hero-name {
    font-family: "Noto Serif SC", serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 60%, var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ab-hero-tagline {
    font-size: 0.875rem;
    color: var(--gold-400);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.ab-hero-bio p {
    font-size: 0.95rem;
    color: var(--brown-200);
    line-height: 2;
    margin-bottom: 10px;
}

.ab-hero-bio strong {
    color: var(--gold-300);
    font-weight: 600;
}

.ab-hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(196,139,58,0.12);
}

.ab-hs {
    text-align: center;
}

.ab-hs-num {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1.2;
}

.ab-hs-label {
    font-size: 0.75rem;
    color: var(--brown-300);
    letter-spacing: 0.05em;
}

/* 波浪过渡 */
.ab-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    color: var(--cream-100);
    line-height: 0;
}

.ab-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* ========================================
   2. 服务理念（建立信任）
   ======================================== */
.ab-trust {
    padding: 80px 0 72px;
    background: var(--cream-100);
}

.ab-trust-header {
    text-align: center;
    margin-bottom: 48px;
}

.ab-trust-lead {
    font-size: 1rem;
    color: var(--brown-300);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

.ab-trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ab-tc {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    opacity: 0;
    transform: translateY(24px);
}

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

.ab-tc:hover {
    border-color: rgba(196,139,58,0.3);
    box-shadow: 0 12px 40px rgba(196,139,58,0.08);
    transform: translateY(-6px);
}

.ab-tc-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(196,139,58,0.08), rgba(196,139,58,0.02));
    border: 1px solid rgba(196,139,58,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    transition: all 0.4s;
}

.ab-tc-icon svg {
    width: 24px;
    height: 24px;
}

.ab-tc:hover .ab-tc-icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
    border-color: var(--gold-500);
    color: #fff;
    transform: scale(1.1);
}

.ab-tc h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.ab-tc p {
    font-size: 0.875rem;
    color: var(--brown-300);
    line-height: 1.8;
}

/* ========================================
   通用标题组件
   ======================================== */
.ab-label-en {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--gold-500);
    margin-bottom: 10px;
}

.ab-h2 {
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.ab-sub {
    font-size: 0.9rem;
    color: var(--brown-300);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

.ab-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.ab-section-head--light .ab-h2 {
    color: var(--cream-50);
}

.ab-section-head--light .ab-sub {
    color: var(--brown-200);
}

/* ========================================
   装饰滚动条带
   ======================================== */
.ab-ribbon {
    background: var(--ink);
    padding: 14px 0;
    overflow: hidden;
    border-top: 1px solid rgba(196,139,58,0.1);
    border-bottom: 1px solid rgba(196,139,58,0.1);
}

.ab-ribbon-track {
    display: flex;
    gap: 24px;
    white-space: nowrap;
    animation: ab-scroll 20s linear infinite;
    font-family: "Noto Serif SC", serif;
    font-size: 0.875rem;
    color: var(--gold-400);
    letter-spacing: 0.15em;
    opacity: 0.6;
}

.ab-ribbon-track span {
    flex-shrink: 0;
}

@keyframes ab-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   3. 八大服务
   ======================================== */
.ab-services {
    padding: 80px 0;
    background: var(--cream-100);
}

.ab-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ab-svc {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 28px;
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    opacity: 0;
    transform: translateY(20px);
}

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

.ab-svc::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ab-svc:hover {
    border-color: rgba(196,139,58,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.ab-svc:hover::after {
    transform: scaleX(1);
}

.ab-svc-no {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-500);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    opacity: 0.6;
}

.ab-svc-ico {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(196,139,58,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    margin-bottom: 16px;
    transition: all 0.4s;
}

.ab-svc-ico svg {
    width: 22px;
    height: 22px;
}

.ab-svc:hover .ab-svc-ico {
    background: rgba(196,139,58,0.08);
    border-color: var(--gold-400);
}

.ab-svc h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.ab-svc p {
    font-size: 0.8rem;
    color: var(--brown-300);
    line-height: 1.7;
    flex: 1;
}

/* ========================================
   4. 故事
   ======================================== */
.ab-stories {
    padding: 80px 0;
    background: var(--brown-900);
    position: relative;
    overflow: hidden;
}

.ab-stories::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(196,139,58,0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(196,139,58,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.ab-stories .container {
    position: relative;
    z-index: 1;
}

.ab-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.ab-story-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(196,139,58,0.12);
    border-radius: var(--radius-xl);
    padding: 40px 32px 36px;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    opacity: 0;
    transform: translateY(24px);
}

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

.ab-story-card:hover {
    background: rgba(196,139,58,0.04);
    border-color: rgba(196,139,58,0.2);
}

.ab-story-quote {
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--gold-500);
    opacity: 0.12;
    line-height: 1;
    pointer-events: none;
}

.ab-story-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(196,139,58,0.1);
    border: 1px solid rgba(196,139,58,0.2);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--gold-400);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.ab-story-title {
    font-family: "Noto Serif SC", serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream-100);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.ab-story-body p {
    font-size: 0.875rem;
    color: var(--brown-200);
    line-height: 2;
    margin-bottom: 10px;
}

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

/* ========================================
   5. FAQ
   ======================================== */
.ab-faq {
    padding: 80px 0;
    background: var(--cream-100);
}

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

.ab-faq-item {
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--cream-50);
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    opacity: 0;
    transform: translateY(16px);
}

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

.ab-faq-item.is-open {
    border-color: rgba(196,139,58,0.3);
    box-shadow: 0 4px 20px rgba(196,139,58,0.06);
}

.ab-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Noto Serif SC", serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.ab-faq-q:hover {
    color: var(--gold-600);
}

.ab-faq-arrow {
    flex-shrink: 0;
    color: var(--gold-500);
    transition: transform 0.3s;
}

.ab-faq-item.is-open .ab-faq-arrow {
    transform: rotate(180deg);
}

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

.ab-faq-item.is-open .ab-faq-a {
    max-height: 320px;
}

.ab-faq-a-inner {
    padding: 0 24px 20px;
    font-size: 0.875rem;
    color: var(--brown-300);
    line-height: 1.9;
}

/* ========================================
   6. 底部 CTA
   ======================================== */
.ab-cta {
    position: relative;
    padding: 96px 0 80px;
    background: var(--brown-900);
    overflow: hidden;
    text-align: center;
}

.ab-cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(196,139,58,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.ab-cta-inner {
    position: relative;
    z-index: 1;
}

.ab-cta-seal {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border: 1.5px solid rgba(196,139,58,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ab-seal-glow 3s ease-in-out infinite alternate;
}

@keyframes ab-seal-glow {
    0%   { box-shadow: 0 0 0 0 rgba(196,139,58,0); }
    100% { box-shadow: 0 0 24px 4px rgba(196,139,58,0.12); }
}

.ab-cta-seal span {
    font-family: "Noto Serif SC", serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-400);
}

.ab-cta-title {
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.ab-cta-desc {
    font-size: 0.95rem;
    color: var(--brown-200);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.ab-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ab-cta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--brown-300);
}

.ab-cta-dot {
    width: 3px;
    height: 3px;
    background: var(--gold-500);
    border-radius: 50%;
    opacity: 0.5;
}

/* ========================================
   Extra Content
   ======================================== */
.ab-page-extra {
    padding: 60px 0;
    background: var(--cream-100);
}

.ab-page-extra .container {
    max-width: var(--content-narrow);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .ab-svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-trust-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ab-hero {
        padding: 120px 0 80px;
    }

    .ab-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .ab-hero-portrait {
        width: 160px;
        height: 160px;
    }

    .ab-portrait-char {
        font-size: 3.5rem;
    }

    .ab-hero-stats {
        justify-content: center;
    }

    .ab-trust-cards {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .ab-svc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ab-stories-grid {
        grid-template-columns: 1fr;
    }

    .ab-story-card {
        padding: 32px 24px 28px;
    }
}

@media (max-width: 480px) {
    .ab-hero {
        padding: 110px 0 70px;
    }

    .ab-hero-portrait {
        width: 130px;
        height: 130px;
    }

    .ab-portrait-char {
        font-size: 2.8rem;
    }

    .ab-hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .ab-svc-grid {
        grid-template-columns: 1fr;
    }

    .ab-svc {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .ab-svc-ico {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .ab-svc-no {
        position: absolute;
        top: 12px;
        right: 16px;
        margin-bottom: 0;
    }

    .ab-svc h3 {
        font-size: 0.95rem;
    }

    .ab-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .ab-cta-info {
        flex-direction: column;
        gap: 4px;
    }

    .ab-cta-dot {
        display: none;
    }

    .ab-wave svg {
        height: 36px;
    }
}
