
/* ============================================
   详情页 - 通用页内 Hero
   ============================================ */

.page-hero {
    position: relative;
    padding: 180px var(--container-pad) 120px;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(184, 164, 232, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(245, 198, 107, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #1A0F30 0%, #2D1B4E 60%, #4A3A7A 100%);
    color: #fff;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 25% 30%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 65% 70%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 85% 40%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 35% 65%, rgba(255, 255, 255, 0.7), transparent);
    pointer-events: none;
    opacity: 0.6;
}

.page-hero-inner {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    z-index: 1;
}

.page-hero-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--c-gold);
    margin-bottom: 18px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    max-width: 800px;
}

.page-hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--c-gold-soft) 0%, var(--c-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.page-hero-sub {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    font-weight: 300;
}

/* ============================================
   关系详情条目 - 单个关系块
   ============================================ */

.relation-block {
    padding: 100px var(--container-pad);
    border-bottom: 1px solid var(--c-border);
}

.relation-block:nth-child(odd) { background: var(--c-bg-light); }
.relation-block:nth-child(even) { background: var(--c-bg-cream); }

.relation-block-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.rb-side {
    position: sticky;
    top: 120px;
}

.rb-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 64px;
    font-weight: 400;
    color: var(--c-purple-light);
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--c-purple-light) 0%, var(--c-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rb-name {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 500;
    color: var(--c-text-dark);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.rb-tagline {
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text-mid);
    font-weight: 300;
}

.rb-content h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--c-text-dark);
    margin-bottom: 16px;
    margin-top: 36px;
    letter-spacing: -0.2px;
}

.rb-content h4:first-child { margin-top: 0; }

.rb-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--c-text-mid);
    margin-bottom: 16px;
    font-weight: 300;
}

.rb-pain-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.rb-pain-list li {
    padding: 16px 0 16px 36px;
    border-bottom: 1px solid var(--c-border);
    font-size: 16px;
    color: var(--c-text-mid);
    position: relative;
    font-weight: 300;
    line-height: 1.6;
}

.rb-pain-list li::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 8px;
    font-family: var(--font-display);
    font-size: 32px;
    font-style: italic;
    color: var(--c-gold);
    line-height: 1;
}

.rb-pain-list li:last-child { border-bottom: none; }

.rb-help {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    padding: 32px;
    margin-top: 24px;
}

.rb-help h5 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--c-purple-deep);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rb-help h5::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-gold);
    box-shadow: 0 0 8px var(--c-gold);
}

.rb-help-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 14px;
}

.rb-help-list li {
    padding: 14px 16px;
    background: var(--c-bg-light);
    border-radius: 12px;
    font-size: 14px;
    color: var(--c-text-dark);
    line-height: 1.6;
}

.rb-help-list li strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--c-purple-deep);
    margin-bottom: 4px;
    font-size: 15px;
}

/* ============================================
   套餐对比页
   ============================================ */

.pricing-page {
    padding: 140px var(--container-pad) 120px;
    background: var(--c-bg-light);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 56px auto 48px;
    background: #fff;
    padding: 6px;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    width: fit-content;
}

.pricing-tab {
    padding: 12px 32px;
    background: none;
    border: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--c-text-mid);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-tab.active {
    background: var(--c-purple-deep);
    color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1.5px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--c-gold);
    background: linear-gradient(180deg, #FEF8E8 0%, #fff 50%);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(245, 198, 107, 0.2);
}

.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-gold);
    color: var(--c-purple-deep);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 1px;
}

.pricing-card .plan-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--c-text-dark);
    margin-bottom: 8px;
}

.pricing-card .plan-tag-line {
    font-size: 13px;
    color: var(--c-text-soft);
    margin-bottom: 28px;
}

.pricing-card .plan-price-large {
    font-family: var(--font-display);
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-card .plan-price-large .currency {
    font-size: 20px;
    color: var(--c-text-mid);
}

.pricing-card .plan-price-large .num {
    font-size: 52px;
    font-weight: 600;
    color: var(--c-purple-deep);
    line-height: 1;
}

.pricing-card .plan-price-large .unit {
    font-size: 14px;
    color: var(--c-text-soft);
    margin-left: 4px;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    border-top: 1px solid var(--c-border);
    padding-top: 24px;
}

.pricing-card .features li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 14px;
    color: var(--c-text-mid);
    line-height: 1.6;
    font-weight: 300;
}

.pricing-card .features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--c-gold);
    font-weight: 600;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-faq {
    max-width: 880px;
    margin: 120px auto 0;
}

.pricing-faq h3 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 56px;
    color: var(--c-text-dark);
    letter-spacing: -0.5px;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 16px;
    border: 1px solid var(--c-border);
}

.faq-item h5 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--c-text-dark);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--c-text-mid);
    font-weight: 300;
}

/* ============================================
   下载页
   ============================================ */

.download-page {
    min-height: 100vh;
    padding: 140px var(--container-pad) 80px;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(184, 164, 232, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(245, 198, 107, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, #1F1338 0%, #2D1B4E 100%);
    color: #fff;
    position: relative;
}

.download-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 80% 40%, rgba(255, 255, 255, 0.6), transparent);
    pointer-events: none;
}

.download-page-inner {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.download-page h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.download-page h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--c-gold-soft) 0%, var(--c-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-page .lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    margin: 0 auto 64px;
    font-weight: 300;
}

.qr-large {
    background: #fff;
    border-radius: 32px;
    padding: 48px;
    max-width: 460px;
    margin: 0 auto 64px;
    box-shadow: 0 30px 80px rgba(245, 198, 107, 0.2);
    position: relative;
}

.qr-large::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(245, 198, 107, 0.5) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

.qr-large .qr-img {
    width: 320px;
    height: 320px;
    margin: 0 auto 28px;
    background:
        repeating-linear-gradient(0deg, var(--c-text-dark) 0 8px, transparent 8px 16px),
        repeating-linear-gradient(90deg, var(--c-text-dark) 0 8px, transparent 8px 16px);
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-soft);
    font-size: 14px;
}

.qr-large h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--c-text-dark);
    margin-bottom: 8px;
}

.qr-large p {
    color: var(--c-text-soft);
    font-size: 14px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.step {
    text-align: left;
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.step-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 32px;
    color: var(--c-gold);
    line-height: 1;
    margin-bottom: 16px;
    font-weight: 600;
}

.step h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

.step p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

/* ============================================
   关于页
   ============================================ */

.about-page {
    padding: 140px var(--container-pad) 80px;
    background: var(--c-bg-light);
    min-height: 100vh;
}

.about-inner {
    max-width: 880px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 80px;
}

.about-block h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: var(--c-text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.about-block p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--c-text-mid);
    margin-bottom: 18px;
    font-weight: 300;
}

.about-mission {
    background: #fff;
    border-radius: 24px;
    padding: 56px;
    margin: 56px 0;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--c-gold);
}

.about-mission .label {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--c-purple-light);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.about-mission .quote {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--c-text-dark);
    letter-spacing: -0.3px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.contact-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--c-border);
}

.contact-item h5 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-soft);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item p {
    font-size: 16px;
    color: var(--c-text-dark);
    margin-bottom: 0;
    font-weight: 400;
}

/* ============================================
   404
   ============================================ */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px var(--container-pad);
    background:
        radial-gradient(ellipse at 50% 50%, rgba(184, 164, 232, 0.2) 0%, transparent 60%),
        linear-gradient(180deg, #1F1338 0%, #2D1B4E 100%);
    color: #fff;
    text-align: center;
}

.error-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 180px;
    font-weight: 500;
    line-height: 1;
    background: linear-gradient(135deg, var(--c-gold-soft) 0%, var(--c-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.error-msg {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   响应式补充
   ============================================ */

@media (max-width: 960px) {
    .relation-block-inner,
    .pricing-grid,
    .steps-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .rb-side { position: static; }
    .pricing-card.featured { transform: none; }
    .relation-block { padding: 60px var(--container-pad); }
    .qr-large .qr-img { width: 240px; height: 240px; }
}
