.docs-page-header {
    position: relative;
    padding-bottom: 24px;
    border-bottom: 1px solid #EEF2F6;
    margin-bottom: 32px;
}

.docs-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #059669;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 10px;
}

.docs-page-title {
    font-size: 2.1rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: #0F172A;
    line-height: 1.25;
}

.docs-page-lead {
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.65;
    margin-top: 10px;
    max-width: 740px;
}

.docs-badge-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #4F46E5;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 10px;
    vertical-align: middle;
}

.license-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 24px 0 36px;
}

.plan-card {
    padding: 24px 22px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-3px);
}

.plan-card-basic {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px solid #CBD5E1;
}

.plan-card-basic:hover {
    border-color: #94A3B8;
    box-shadow: 0 12px 24px -6px rgba(100, 116, 139, 0.12);
}

.plan-card-vip {
    background: linear-gradient(135deg, #ECFDF5 0%, #FEF3C7 50%, #F0FDF4 100%);
    border: 1px solid #A7F3D0;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.08);
}

.plan-card-vip:hover {
    border-color: #34D399;
    box-shadow: 0 14px 28px -6px rgba(16, 185, 129, 0.18);
}

.plan-pill-top {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.pill-basic {
    background: #E2E8F0;
    color: #475569;
    border: 1px solid #CBD5E1;
}

.pill-vip {
    background: linear-gradient(135deg, #D1FAE5 0%, #FDE68A 100%);
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.plan-card h4 {
    font-size: 1.25rem;
    font-weight: 650;
    margin-bottom: 4px;
}

.plan-card-basic h4 { color: #1E293B; }
.plan-card-vip h4 { color: #064E3B; }

.plan-price-text {
    font-size: 0.88rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.plan-card-basic .plan-price-text { color: #64748B; }
.plan-card-vip .plan-price-text { color: #059669; }

.plan-features-list {
    list-style: none;
    margin: 14px 0 20px;
    padding: 0;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.plan-card-basic .plan-features-list li { color: #475569; }
.plan-card-vip .plan-features-list li { color: #064E3B; }

.plan-features-list svg {
    flex-shrink: 0;
}

.domain-lock-container {
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
    border-radius: 16px;
    padding: 28px;
    margin: 32px 0;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.domain-lock-glow {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.domain-lock-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.domain-node {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: 12px;
}

.domain-node-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.domain-node-text strong {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    color: #F8FAFC;
}

.domain-node-text span {
    font-size: 0.74rem;
    color: #94A3B8;
}

.lock-connector-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.lock-badge-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: #34D399;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.4);
    padding: 3px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lock-dashed-bar {
    width: 100%;
    height: 2px;
    border-top: 2px dashed rgba(52, 211, 153, 0.5);
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 22px 0 34px;
}

.state-badge-card {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.state-active {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
}
.state-active strong { color: #065F46; }
.state-active p { color: #059669; }

.state-trial {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
}
.state-trial strong { color: #1E40AF; }
.state-trial p { color: #2563EB; }

.state-suspended {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 1px solid #FECACA;
}
.state-suspended strong { color: #991B1B; }
.state-suspended p { color: #DC2626; }

.state-unauth {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1px solid #FDE68A;
}
.state-unauth strong { color: #92400E; }
.state-unauth p { color: #D97706; }

.state-badge-card strong {
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.state-badge-card p {
    font-size: 0.74rem;
    line-height: 1.4;
}

.conflict-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 24px 0 36px;
}

.conflict-flow-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.conflict-flow-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.05);
}

.conflict-num {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #EEF2FF;
    color: #4F46E5;
    font-size: 0.76rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.conflict-flow-card h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.conflict-flow-card p {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.45;
}

.docs-nav-pager {
    margin-top: 48px;
    padding-top: 26px;
    border-top: 1px solid #EEF2F6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pager-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pager-btn-back:hover {
    color: #0F172A;
    transform: translateX(-3px);
}

.pager-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    padding: 10px 20px;
    border-radius: 9px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.pager-btn-next:hover {
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .license-plans-grid,
    .domain-lock-flex,
    .states-grid,
    .conflict-flow-grid {
        grid-template-columns: 1fr;
    }
}